Stuk / jszip-utils

Other
228 stars 193 forks source link

CORS errors on getBinaryContent goes unnoticed #37

Open JulienFS opened 2 years ago

JulienFS commented 2 years ago

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.

MaBbKhawaja commented 1 year ago

Did you solve the issue ??