Closed Bug 194256 Opened 22 years ago Closed 22 years ago

Content-disposition adds .cgi on the end for attachments

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 65827

People

(Reporter: shippy, Assigned: asa)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 When using the Content-disposition: attachment; filename=<string> header, the browser adds an extra .cgi to the end of it. So if filename is foo.exe, it gets foo.exe.cgi. This is undesirable. I have a cgi script that must use this header to properly form the filename of what the person is downloading through my script. Other browsers handle this just fine and earlier versions of Mozilla (can't remember how early...around 1.0) handled this just fine. Reproducible: Always Steps to Reproduce: 1. Go to the listed URL 2. Click on one of the Download buttons 3. Save to disk Actual Results: The .cgi is appended to the end of the filename Expected Results: Not put a .cgi at the end.
Works for me, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
I don't believe you. The same thing happens to my girlfriend and she's running the same version as me. I would like to see a screenshot. Are you not following my directions properly? 1) Go to http://216.40.242.102/scgi-bin/verifykey.cgi?prodkey=discover_demo&type=download 2) Choose either the windows or linux version 3) Choose 'Save to disk' 4) The filename you get will have a .cgi at the end. If it's _still_ working for you, then it must be a pref issue.
*** This bug has been marked as a duplicate of 65827 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.