Closed
Bug 220832
Opened 22 years ago
Closed 22 years ago
Url extension gets added to the filename specified in content-disposition if it doesn't have one.
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.6alpha
People
(Reporter: amla70, Assigned: Biesinger)
References
()
Details
(Whiteboard: alternate url: http://biesi.damowmow.com/mime.php?do=1&type=application/octet-stream&disposition=attachment&filename=noext"e=1&)
Attachments
(1 file)
2.57 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
this is a variant of Bug 65827, the filename of the content-disposition header
doesn't have an extension and it's sent as application-octect stream, but if the
page is called without any parameter then Mozilla (Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.6a) Gecko/20030930) adds .asp to the suggested filename.
(the testcase now doesn't have spaces and it's properly quoted)
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #132651 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
![]() |
||
Comment 2•22 years ago
|
||
Comment on attachment 132651 [details] [diff] [review]
patch
r=bzbarsky. This should do the trick, yes.
Attachment #132651 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #132651 -
Flags: superreview?(darin)
Assignee | ||
Updated•22 years ago
|
Whiteboard: biesi_testcase:http://192.168.1.1/~chb/testcase/disp_no_fn.php
![]() |
||
Comment 3•22 years ago
|
||
Comment on attachment 132651 [details] [diff] [review]
patch
sr=darin
Attachment #132651 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 4•22 years ago
|
||
Checking in nsExternalHelperAppService.cpp;
/cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <--
nsExternalHelperAppService.cpp
new revision: 1.226; previous revision: 1.225
done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•22 years ago
|
Whiteboard: biesi_testcase:http://192.168.1.1/~chb/testcase/disp_no_fn.php → alternate url: http://biesi.damowmow.com/mime.php?do=1&type=application/octet-stream&disposition=attachment&filename=noext"e=1&
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•