Bug 140554

Summary: newline in Summary field breaks notification mails
Product: [Community] Bugzilla Reporter: Joe Orton <jorton>
Component: Bugzilla GeneralAssignee: Mike MacKenzie <mmackenz>
Status: CLOSED CURRENTRELEASE QA Contact: Mike MacKenzie <mmackenz>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.18   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=140551
Whiteboard:
Fixed In Version: 2.18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-24 17:01:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2004-11-23 16:23:01 UTC
I managed to enter a newline in the Summary field, and the mail
generated also had the newline:

Subject: [Bug 140551] New: sshd fails to open ptys with
RHEL4-re1122.nightly tree

Content-type: text/plain; charset=utf-8

so half the headers were in the mail body - probably need to do some
field sanitisation.

Comment 1 Mike MacKenzie 2004-11-23 20:51:07 UTC
I fixed this by replacing newlines (and carriage returns) with spaces.
This fix will be in version 2.18.  Until 2.18 is in production, um, be
careful.  Or use the 2.18 beta (note: this fix hasn't been pushed out to 
the beta, yet, but it should be out soon)

Comment 2 David Lawrence 2005-08-24 17:01:19 UTC
Should be fixed now. Please reopen if not the case.