User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20060124 Firefox/126.96.36.199 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:188.8.131.52) Gecko/20060124 Firefox/184.108.40.206 Hi, I downloaded a file with firefox named "test.tar.bz2". I directly open it with archive manager, do something and close archive manager. Firefox stores "test.tar.bz2" in /tmp . If I download again the same file, firefox renames it to "test.tar-1.bz2" which causes the archive manager to not recognize the "tar" archive type. Reproducible: Always Steps to Reproduce: 1. Download test.tar.bz2. Select direct open with archive manager 2. Do something and close archive manager 3. Download the same file again 4. There should be /tmp/test.tar.bz2 and /tmp/test.tar-1.bz2
This should have been handled by the fix to bug 231048, see https://bugzilla.mozilla.org/attachment.cgi?id=184636&action=diff It WFM on WinXP at least, I get test.tar.bz2 and test(2).tar.bz2. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060331 Firefox/1.6a1 ID:2006033104
I also get test.tar.gz and test(2).tar.gz if I choose to save the file to disk. If I directly open the file with an application I still get test.tar.gz and test.tar-1.gz
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a1) Gecko/20060407 Firefox/3.0a1 - Build ID: 0000000000 Confirming. Even with the patch to bug #231048 applied, this still happens. Duping this to bug #231048, and bringing this up over there. *** This bug has been marked as a duplicate of 231048 ***
ExecuteDesiredAction uses CreateUnique, which doesn't really handle those cases very well.
This might be a dupe, but I couldn't find it.
Well, this is fixed now ;) Thanks!
It should be to WFM, if no a landed link. https://developer.mozilla.org/en-US/docs/What_to_do_and_what_not_to_do_in_Bugzilla#Resolving_bugs_as_WORKSFORME