Feature Request: Show more descriptive error on failure to download compressed files
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:
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.
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!
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.
A user reported the same issue in 8478524-zd-a8c
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 8478524-zen