New issue
Advanced search Search tips

Issue 778723 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

download attribute ignores 404 and creates file with the 404 response

Reported by ml...@nocturnal.org, Oct 26 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. create an anchor tag with a download attribute that points to a missing file.
2. click the link

What is the expected behavior?
Like other non-chrome browsers it should simply give them an error saying the file is missing.

What went wrong?
Chrome creates a file that contains the 404 response text from the web server.

Did this work before? No 

Chrome version: 62.0.3202.62  Channel: stable
OS Version: 16.04
Flash Version: Shockwave Flash 27.0 r0

Might be incorrect category.
 

Comment 1 by mmenke@chromium.org, Oct 26 2017

Components: -Internals>Network UI>Browser>Downloads
Labels: Needs-Triage-M62
mlenz@, Thank you for the report. Can you please attach a sample repro case?

Comment 3 Deleted

Comment 5 by ml...@nocturnal.org, Oct 26 2017

Actually maybe it's just a perception issue or maybe this is the new behavior.  That it appears to download with a true 404 and that issue I was seeing was a response from google cloud storage being placed into the file previously.  Maybe there really isn't anything to fix here. hrrm.

Comment 6 by dah...@chromium.org, Oct 26 2017

Owner: xingliu@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for the report, can't repro on trunk, will get a 62 version to test with.

We recently add an optional behavior to download 404 into a file, but it's not in 62.
Labels: Needs-Feedback
Screenshots on development build. 

To mlenz@, can you please provide a screenshot of the similar icon or the 404 file?
Screenshot from 2017-10-26 12:34:40.png
15.4 KB View Download
I think you can close this honestly.  I originally encountered this problem (the saving of the file with the 404 response) in a much older version of chrome and because of the way it still appears to still download a file (but doesn't actually) I assumed it was still an issue.  I can't reproduce this anymore.  Sorry for the time waste.
Labels: -Needs-Feedback -Needs-Triage-M62
Status: WontFix (was: Assigned)
Thank you for filing this bug, your feedback is always welcomed.

Marked this as Won't fix for now.

Sign in to add a comment