From 8508ede5763d9d98d8c4fc755847752d192c2126 Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Mon, 9 Jan 2006 03:56:03 +0000 Subject: Bug 101380: Newlines, nulls, leading/trailing spaces are getting into summaries Patch by Paul and Colin Ogilvie ; r/a=justdave --- process_bug.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 77496f2a3..79ad8e517 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -611,6 +611,7 @@ if (defined $cgi->param('id')) { check_form_field_defined($cgi, 'bug_file_loc'); check_form_field_defined($cgi, 'short_desc'); check_form_field_defined($cgi, 'longdesclength'); + $cgi->param('short_desc', clean_text($cgi->param('short_desc'))); if (trim($cgi->param('short_desc')) eq "") { ThrowUserError("require_summary"); -- cgit v1.2.3-65-gdbad