Closed Bug 153846 Opened 22 years ago Closed 22 years ago

downloaded file names changed depending on content type HTTP header

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 142102

People

(Reporter: jphb, Assigned: law)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 BuildID: 2002053012 When downloading a file to local disc via the "http" protocol, if the remote file name ends ".tar.gz" then the local copy ends in ".tar.gz.tar". The actual behaviour seems to depend on the content type HTTP header - see under "Actual results" Reproducible: Always Steps to Reproduce: 1. Find download link 2. Select link 3. Select save to local disc (extra .tar already appended at this stage) Actual Results: Have also tried http://www.webdav.org/mod_dav/mod_dav-1.0.3-1.3.6.tar.gz which showed the same problem however http://www.mirror.ac.uk/site/dist/perl/mod_perl-1.99_03.tar.gz did not. The difference seems to be that the webdav site reported the type as "application/x-tar" whereas the UK mirror site reported the type as "application/x-gzip". Expected Results: It should not have attempted to change the file name irrespective of the content type Did a brief check with IE6 - which behaved as I expected - I.e. didn't change the file name.
marking as duplicate of 142102 (or one of those extension bugs). reporter, please try to atleast consult the list of most-frequently-filed bugs (this relates to the 4th most frequent) before filing a bug report, thanks *** This bug has been marked as a duplicate of 142102 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
marking verified as a duplicate. if you decide to reopen this bug, please clarify why. search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.