Hi There
I am experiencing a little bit of a CORS issue with displaying images via TMDB BunnyCDN endpoint.
Image Without CORS Headers: https://image.tmdb.org/t/p/w1280/eN3NJkb8SDiMtjXTfoE6CZDMWpu.jpg Image With CORS Headers: https://image.tmdb.org/t/p/w1280/xOMo8BRK7PfcJv9JCnx7s5hj0PX.jpg
It appears that the Access-Control-Allow-Origin
and Access-Control-Expose-Headers
headers are inconsistently being set. I see that they're returned only when the Origin
header is set, however it appears that they are sometimes not returned, even if Origin
is set.
Just wanted to check whether there is a change ongoing that may be affecting this, or whether I should dig a bit more my side to see if there are any changes in the request payloads that could be triggering this behaviour.
Thank you!
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Travis Bell
pe data de 10 decembrie 2024 la ora 10:48 AM
Hi @rhyswilliamsza,
I'm not seeing any difference with those two images:
And:
Can you show me the request and response you're making?
Răspuns de rhyswilliamsza
pe data de 10 decembrie 2024 la ora 11:02 AM
Thanks! I was also struggling to reproduce via CURL but wasn't sure if it was perhaps intermittent. I'm investigating a few chrome behaviours that may be related, and will let you know if I manage to capture the issue coming from the CDN side (main theory is that it's local for now).
Chrome Results using Fetch: