User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910 If a new file type is added in the Helper Applications dialog, and one specifies periods in the file extension, the periods are silently stripped. The developers probably thought that this was a Good Thing, but I believe it is preventing users from specifying that compressed Postscript files (.ps.gz) should be opened with a Postscript viewer (many of which automatically decompress gzipped ps files). Perhaps only periods occurring at the beginning of the file extension should be stripped (if any). Reproducible: Always Steps to Reproduce: 1. Edit->Preferences->Navigator->Helper Applications 2. New Type 3. File Extension: .ps.gz (Enter other fields as desired) 4. OK 5. Click on the new type in the "File types:" frame to select it. Actual Results: The extension shown below the frame is "psgz". Expected Results: The extension should have been saved as "ps.gz".
Note that for a file named foo.ps.gz the extension would be "gz" and hence a helper for extension "ps.gz" would still not be triggered.... That said, this is a dup.
Maybe so, but my Netscape 4.78 knows to open .ps.gz files and save .gz files. I suppose this is because the web server recognizes the .ps.gz extension and sets the appropriate content type. I hope that Mozilla gives the content type priority over the file extension as Netscape 4.78 seems to, but because of bug 170086, there's no way for me to check.
> I suppose this is because the web server recognizes the .ps.gz extension and > sets the appropriate content type. If it does that for NS4, that's one buggy web server.... NS4 does not support HTTP/1.1 features like content encoding. > I hope that Mozilla gives the content type priority over the file extension It does.
Reporter can you reproduce this bug with a newer build (1.4 final)? If not, then please close this bug as worksforme. Thanks.
Confirming; this bug is present in 1.6 and 1.8a-0420, Win2K. See bug 236212 comment 11 & 12. Updating platform; CC'ing cbiesinger.
Mike, next time you decide to confirm bugs that I left unconfirmed and DUPEME, please think long and hard. Especially about removing the DUPEME annotation.
I screwed that up completely; my apologies to all, particularly to Tristan for cluttering his bug.