Closed Bug 191130 Opened 22 years ago Closed 22 years ago

File Save As dialog appends .URL to .exe filename

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ron, Assigned: law)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3b) Gecko/20030116
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3b) Gecko/20030116

Mozilla is incorrectly assigning a ".URL" extension to files of type
"application/octet-stream" accessed via a clicked link.

Reproducible: Always

Steps to Reproduce:
1. goto <http://ftp25moz.newaol.com/pub/mozilla/nightly/latest/>
2. click link to "mozilla-win32-installer-sea.exe"
3. Moz Save As dialog box will appear (filename in titlebar has .URL appended)
4. Choose "Save it to disk"
5. Win Save As dialog box appears.  
   Suggested filename is "mozilla-win32-installer-sea.exe.URL"
   Save As Type is ".URL" 
6. Choose to Save



Actual Results:  
Windows will create a file that is irretrievably typed as ".URL".  This seems to
be a special type, in that its extension cannot be viewed or changed w/i the
Windows UI even if the "always show extension for this type" box is ticked in
the File Types dialog (although it is visible at the CLI).  The only way I've
found to  get Windows to recognize one of these files is to rename it using the CLI.

Expected Results:  
Mozilla should not have added the .URL extension.

This does not occur if this directory is accessed using the ftp protocol
i.e. <ftp://ftp25moz.newaol.com/pub/mozilla/nightly/latest/>

As a workaround, it is necessary to edit the suggested filename in the Save As
dialog, removing the .URL extension, and to choose Save As Type "All Files".
WFM Win2k 2003012804

Reporter: In your Prefs, make sure you don't have a helper app set up for
application/octet-stream
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
I don't recall why, but I did have a helper application configured for
application/octet-stream.  Was set to save file to disk with a "URL" extension.  

Removing this entry resolved the issue.  Sorry for the bother.  Thanks for the help.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.