symbl-data icon indicating copy to clipboard operation
symbl-data copied to clipboard

Old version CORS errors

Open anonymous1184 opened this issue 1 year ago • 2 comments

The old version for me is super useful and intuitive, but sadly since a few weeks before the upgrade some assets return CORS errors and that keeps the site from loading properly.

The problem is with assets loading from s.unicode-table.com.

Can you fix that? It will be lovely. The old version is super useful for Unicode work rather than just Emoji and smileys.

anonymous1184 avatar Mar 03 '23 04:03 anonymous1184

Need some examples with this error. Can you write them?

alex-py-234 avatar Apr 04 '23 12:04 alex-py-234

This is from Firefox console, Network tab:

image

Isolating a single call, say u0000.woff:

image

You can see the Origin header in the request:

Origin: https://old.unicode-table.com

Doesn't match the Access-Control-Allow-Origin header in the response:

access-control-allow-origin: unicode-table.com dev.unicode-table.com s-unicode.akamaized.net

Thus, making browsers block the asset from loading:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

anonymous1184 avatar Apr 04 '23 13:04 anonymous1184