Closed Bug 141806 Opened 22 years ago Closed 22 years ago

foo.tgz saved as foo.tgz.gz

Categories

(Core Graveyard :: File Handling, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 144923
mozilla1.3alpha

People

(Reporter: ellson, Assigned: bzbarsky)

References

()

Details

When downloading files from this page, Mozilla appends ".GZ" to the
file name, resulting in /home/ellson/gael2-0.1.5.tgz.GZ

Please don't do this!!!!!!
To me...  This sounds like a bug in the content-disposition-handling stuff.... 
I can't test for sure because the site is not responding when I try to download
(using wget or mozilla or NS4)
Assignee: law → bzbarsky
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Target Milestone: --- → mozilla1.2alpha
The site is absurdly slow but wget eventually got this.

--15:12:57--  http://prdownloads.sourceforge.net/gael/gael2-0.1.5.tgz
           => `gael2-0.1.5.tgz'
Resolving prdownloads.sourceforge.net... done.
Connecting to prdownloads.sourceforge.net[216.136.171.200]:80... 
connected.
HTTP request sent, awaiting response...
 1 HTTP/1.1 200 OK
 2 Date: Thu, 02 May 2002 19:14:39 GMT
 3 Server: Apache/1.3.20 (Unix) PHP/4.0.6
 4 Last-Modified: Wed, 01 May 2002 22:51:15 GMT
 5 ETag: "27c066-361e1-3cd07163"
 6 Accept-Ranges: bytes
 7 Content-Length: 221665
 8 Connection: close
 9 Content-Type: application/x-gzip
10 Content-Encoding: x-gzip

Perhaps "Content-Type: application/x-gzip"?
That could do it if "tgz" is not listed as a valid extension for that type.. (on
most systems it is).

Marking dependent on the bug about cleaning up this whole extension-mess.
Depends on: exe-san
*** Bug 151201 has been marked as a duplicate of this bug. ***
Summary: why, oh why is mozilla messing with download file names???? → why, oh why is mozilla saving foo.tgz as foo.tgz.gz?
Looks like a dup of bug 129979
*** Bug 162865 has been marked as a duplicate of this bug. ***
change OS to all per bug 141806
OS: Linux → All
*** Bug 142116 has been marked as a duplicate of this bug. ***
Bug 129979 only applies for "save link as" from context menu, which is not what
this bug is about.
See also bug 144334, foo.tar.gz saved as foo.tar.gz.tar.
Summary: why, oh why is mozilla saving foo.tgz as foo.tgz.gz? → foo.tgz saved as foo.tgz.gz
I find a suspect entry under
Edit | Preferences | Navigator | Helper Applications: File Types: MIME type:
application/octet-stream

I don't think I set up Adobe Acrobat to handle this, and the edit options don't
seem to be adequate. I cannot change the "Extension: pdf" setting. Under edit,
it says "save to disk" which is OK, but not as a .pdf. The only real choice
seems to be "Remove." Then what gets set up the next time I save a file?

W2K, Mozilla 1.0 2002053012
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
*** Bug 169904 has been marked as a duplicate of this bug. ***
I don't believe Mozilla should *ever* change a filename.  I could be downloading a configuration file for an application, which expects that file to have a very specific name.  Even an apparently 'harmless' change, such as changing to an 'equivalent' extension, could break the program that's going to use the file. Filenames should be treated as sacred, like variable names in source code, or usernames. 
QA Contact: sairuh → petersen
This was fixed on non-Windows platforms in bug 144923.  The windows issue is bug
147679.

Since the original bug was a Linux one, dupping accordingly.

*** This bug has been marked as a duplicate of 144923 ***
Status: NEW → RESOLVED
Closed: 22 years ago
OS: All → Linux
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.