Closed Bug 657621 Opened 13 years ago Closed 8 years ago

SmartScreen Filter filename bug

Categories

(Firefox :: File Handling, defect)

15 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 311742

People

(Reporter: info, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

If a person at MSN Live Messenger sends me a JPG link, Firefox is unable to save the image.

Reproducible: Always

Steps to Reproduce:
Somebody sends me a Link to a JPG file over MSN/Live Messenger.

The SmtartScreen site http://link.smartscreen.live.com/?l=... resp. http://link.live.net/... opens and redirects me to the JPG file. (There seem to be differences between a immediately redirect and a redirect over a warning page)

Actual Results:  
When I try to save the JPG file, Firefox tries to name it link.live.net.htm (contains the JPG, but with wrong filename) or link.smartscreen.live.com.htm (contains HTML, NOT the JPG)

Expected Results:  
Name the file correctly like in the URL bar. The redirection has happened, so the filename may not be the same the referer (= Live SmartScreen).

Workaround: Do a F5 reload and then try again to save the image. Now the filename should be correct.
Version: unspecified → 4.0 Branch
Could not verify the issue on:
Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110523 Firefox/6.0a1

*Note: Can you attach a screen video capture of the issue, maybe?
Hello. Please look at this video I made: http://www.youtube.com/watch?v=APh6AR1O-eA . I clicked the reload button, but the save function did not work. As soon as I hit CTRL+F5, it did work.
Please guys... MSN is a well known software and Firefox cannot work together with it? Mozilla is pushing version numbers so heavily and this bug was not touched at all.

I can confirm this bug at every computer I have. As soon as somebody sends me a link to a JPG file and I try to save it, Firefox will write a file called "OptOut.jpg" which contains a HTML page. To save the JPG file I have to do a Ctrl+F5.
Version: 4.0 Branch → 10 Branch
As I was working on a new script I could finally reproduce a part of the issue in the latest FF 16.0.0.2 .

Do the following:

Make a HTML with a FORM an let it submit to redirect.php .

Let redirect.php redirect to my_picture.png using header('Location: my_picture.png').

(my_picture.png gets rewritten using mod_rewrite)

Try to save my_picture.png to your harddisk. You will see the file name "redirect.php" .

Difference to the original MSN scenario: The file contents downloaded are not corrupt.
Version: 10 Branch → 15 Branch
Hello. Would you PLEASE finally confirm this bug? I have given you a perfect reproduction script. You just need to click it and see it with your own eyes. This bug annoys me since 2011!

http://www.daniel-marschall.de/temp/firefox_filename_bug_reproduction/
(In reply to Daniel Marschall from comment #6)
> Hello. Would you PLEASE finally confirm this bug? I have given you a perfect
> reproduction script. You just need to click it and see it with your own
> eyes. This bug annoys me since 2011!
> 
> http://www.daniel-marschall.de/temp/firefox_filename_bug_reproduction/

WFM on Fx43 Win10. This bug is still reproducible on the latest version?
Component: General → File Handling
Yes, I just reproduced it today with the latest stable Firefox, on a Windows Server 2008R2. 

So you clicked the redirect button, saved the picture, and the suggested filename is dolphin.jpg and not redirect.php? 

How exactly did you save the picture? I did it by right clicking on the picture.
Hmmm, I seen dolphin.jpg when press Ctrl+S, redirect.php.jpg when click context menu - Save Image As...
(In reply to YF (Yang) from comment #9)
> Hmmm, I seen dolphin.jpg when press Ctrl+S, redirect.php.jpg when click
> context menu - Save Image As...

Good. Then you could reproduce it. I didn't knew that there was a difference between the different ways to save the file.

For me, it works if I press Ctrl+S or use "File -> Save page as". It does not work when I right-click on the picture and click "Save image as".

Also, I could reproduce the same bug at Firefox for Android. Here, the saved filename is "redirect.php.jpg", although the URL bar showed "dolphin.jpg", too.
Dupe of bug 311742?
(In reply to YF (Yang) from comment #11)
> Dupe of bug 311742?

Probably, yes. Since MSN Messenger doesn't exist anymore, I cannot verify what the SmartScreen filter actually did. But 311742 matches to what I tested on my reproduction page.

Bug 311742 is more than 10 years old, and was even ported to Firefox for Android. Can PLEASE someone fix it?
I hope it to be resolved, but it is no progress at present.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.