Closed
Bug 413648
Opened 17 years ago
Closed 15 years ago
attachment mime type handling should strip leading and trailing spaces
Categories
(Bugzilla :: Attachments & Requests, defect, P4)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.6
People
(Reporter: timeless, Assigned: LpSolit)
References
()
Details
Attachments
(2 files)
753 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
653 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
I pasted a content type into the mime type field and submitted, i got this error:
The content type <em> text/plain;charset=utf-16</em> is invalid.
Valid types must be of the form <em>foo/bar</em> where <em>foo</em>
is either <em>application, audio, image, message, model, multipart,
text,</em> or <em>video</em>.
Steps:
1. copy " text/plain;charset=utf-16" into the mime type for an attachment and click submit
Expected results:
treat it the same as "text/plain;charset=utf-16"
Actual results:
Error above, which when rendered as html doesn't appear to have anything interesting.
Updated•17 years ago
|
Severity: normal → minor
OS: Windows XP → All
Priority: -- → P4
Hardware: PC → All
![]() |
Assignee | |
Comment 1•15 years ago
|
||
![]() |
Assignee | |
Comment 2•15 years ago
|
||
Attachment #485272 -
Flags: review+
![]() |
Assignee | |
Comment 3•15 years ago
|
||
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Attachment.pm
Committed revision 7558.
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.0/
modified Bugzilla/Attachment.pm
Committed revision 7450.
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/3.6/
modified Bugzilla/Attachment.pm
Committed revision 7194.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: approval4.0+
Flags: approval3.6+
Flags: approval+
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 3.6
You need to log in
before you can comment on or make changes to this bug.
Description
•