jszip-utils icon indicating copy to clipboard operation
jszip-utils copied to clipboard

CORS errors on getBinaryContent goes unnoticed

Open JulienFS opened this issue 3 years ago • 1 comments

The commit 3c17932ae4850f59cc00ab8c4eb40a2d6c40d75f replaced the isLocal check by a status check for 0. Local files return a status of 0, but same goes when there's a CORS error preventing a remote request to be executed.

Requests with CORS errors are reported as successful with an empty content.

JulienFS avatar Nov 18 '21 13:11 JulienFS

Did you solve the issue ??

MaBbKhawaja avatar Oct 18 '22 11:10 MaBbKhawaja