diff options
author | mozilla%colinogilvie.co.uk <> | 2006-01-09 04:56:03 +0100 |
---|---|---|
committer | mozilla%colinogilvie.co.uk <> | 2006-01-09 04:56:03 +0100 |
commit | 8508ede5763d9d98d8c4fc755847752d192c2126 (patch) | |
tree | 52943273ee4f76b7121d9568ce528e585d3c44a2 /process_bug.cgi | |
parent | 94232797b7ea157c75ee92a9830993fbff1caad1 (diff) | |
download | bugzilla-8508ede5763d9d98d8c4fc755847752d192c2126.tar.gz bugzilla-8508ede5763d9d98d8c4fc755847752d192c2126.tar.xz |
Bug 101380: Newlines, nulls, leading/trailing spaces are getting into summaries
Patch by Paul <pdemarco@zoominternet.net> and Colin Ogilvie <colin.ogilvie@gmail.com>; r/a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |