Closed Bug 1423578 Opened 7 years ago Closed 7 years ago

Drag and Drop on OS X creates wrong filename

Categories

(Firefox :: Untriaged, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1418073

People

(Reporter: jaccoud, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171128222554 Steps to reproduce: In a Mac running OS X and Firefox version 57 or higher, drag a picture with multiple dots in the name from a page (or directly if you are viewing only the picture) to the desktop or any other directory. For example, open the movie poster in https://i.jeded.com/i/keith.22466.jpg and drag it to a directory. Actual results: The resulting file was created with a name with the wrong name and extension, as a result of bad clipping. In the example URL, the file was created with the name keith.22466 , resulting in it being interpreted by the OS not as a JPEG picture, but a binary file with extension 22466. This happens with all files that have dots in their names, but only in OSX -- the Windows version got it right. Expected results: The filename should be identical (or similar) to the substring at the tail of the URL, after the last slash, which is the resource name. In the example, the filename should be keith.22466.jpg , with the correct extension 'jpg' and type (a JPEG picture). The correct behaviour is displayed by Firefox 56 and 57 in Windows 7 but in OS X it changed from version 56 to 57: 56 worked as expected, so the bug was introduced in version 57.
I'm running OS X version 10.10.5 (Yosemite). I tested in another Mac with 10.10.6 (Sierra) and the result was the same.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.