jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Feature Request: Show more descriptive error on failure to download compressed files

Open Agepeuve opened this issue 3 years ago • 4 comments

Impacted plugin

Jetpack

What

Add a descriptive error if a compressed file fails to download for security reasons

How

If you upload a .zip file that contains an executable file (.bat for example) to a site, you will not be able to download it. A generic error will be displayed: "This site can't be reached".

Screenshot of the error: 5Ppwje.png

If you remove the .bat file, you will be able to download the .zip file correctly. Ideally, the user should see a warning when uploading this type of file, or the error page displayed could be more specific.

Agepeuve avatar Oct 02 '23 08:10 Agepeuve

Could you walk me the steps you followed to get to that error, including the URL of the page where you started the process?

Thank you!

jeherve avatar Oct 02 '23 09:10 jeherve

Hey! This feature was first requested here: pd4QKa-Sx-p2

I haven't had a chance to speak to the user who reported the problem, but if I'm not mistaken, this is what they did:

1.- Upload a file containing a .bat file to the Media Library. You won't get any errors. 2.- Link the file to a post or page. 3.- Try to download the file and you will see the error.

I've checked and they've already deleted the original file, but I'm pretty sure they'll have no problem sharing it with us if you think that might help.

Agepeuve avatar Oct 04 '23 05:10 Agepeuve

A user reported the same issue in 8478524-zd-a8c

jamiepalatnik avatar Jul 13 '24 19:07 jamiepalatnik

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 8478524-zen

github-actions[bot] avatar Jul 13 '24 19:07 github-actions[bot]