regression: Twitter image filenames
Closed this issue · 3 comments
Erisa commented
Twitter images are being a nuisance again, this time defying my mimetype logic and downloading without file extensions. Will investigate soonish.
Erisa commented
Seems to be CORS blocking the HEAD request:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pbs.twimg.com/media/EaYPEMZWoAAUkq1?format=jpg&name=small. (Reason: CORS request did not succeed).
Erisa commented
Or wait it says the CORS request didn't succeed so maybe it's something else blocking that.
Erisa commented
Ignoring CORS as best we can with no-cors
results in
TypeError: NetworkError when attempting to fetch resource. background.js:71:19