Open
Bug 731120
Opened 13 years ago
Updated 5 months ago
If filename in Content-Disposition contains "?", embed image is not shown. "?" in filename should be escaped or replaced in URL like image location
Categories
(MailNews Core :: MIME, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: World, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This bug is spin-off of Problem-2 in Bug 729742 Comment #8.
If filename in Content-Disposition contains "?", embed image is not shown.
"?" in filename should be escaped or replaced in URL like image location, if URL like image location is continuously used for cid: url resolution and/or HTML mail's <img> processing.
Image location at Forwarded mail(HTML mode)
mail-1, filename="AB?CD.jpg". Image is not shown.
mailbox:///C:/wada/@@@/Mail-X/Inbox.sbd/Question-in-filename?number=0&part=1.2&filename=AB?CD.jpg
mail-2, filename="AB_CD.jpg". Image is shown as expected.
mailbox:///C:/wada/@@@/Mail-X/Inbox.sbd/Question-in-filename?number=14173&part=1.2&filename=AB_CD.jpg
Reporter | ||
Comment 1•13 years ago
|
||
Resolution of URL in text/html of mail is defined by RFC 2557.
> http://tools.ietf.org/html/rfc2557#section-8.2
I don't think image location should always be referred and verified by filename. &content-location=<escaped value of Content-Location: header>, &content-id=<escaped value of Content-ID: header>, is better than &filename= if Content-ID:/Content-Location: exists, because uniqueness is requested for Content-Location: and Content-ID: by RFCs.
Reporter | ||
Updated•13 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•