aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormozilla%colinogilvie.co.uk <>2006-01-09 03:56:03 +0000
committermozilla%colinogilvie.co.uk <>2006-01-09 03:56:03 +0000
commit8508ede5763d9d98d8c4fc755847752d192c2126 (patch)
tree52943273ee4f76b7121d9568ce528e585d3c44a2 /process_bug.cgi
parentBug 320529: BugMail.pm crashes when checking email prefs of a deleted user - ... (diff)
downloadbugzilla-8508ede5763d9d98d8c4fc755847752d192c2126.tar.gz
bugzilla-8508ede5763d9d98d8c4fc755847752d192c2126.tar.bz2
bugzilla-8508ede5763d9d98d8c4fc755847752d192c2126.zip
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-xprocess_bug.cgi1
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");