Thread Starter
devcn
(@devcn)
Hi @zinoui,
Thank you for the quick reply.
The Origin header is always set with the correct URL.
Sometimes I have the following error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at [REQUESTED URL]. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)
But I don’t explain why… probably another plugin doing weird stuff with HTTP headers…
Since the feature I try to fix isn’t really important, I ended up using the following working solution: https://stackoverflow.com/a/57951582 (I already wasted too much time on it)
Anyway, thank you again your plugin (even if I ended up not using it) and your time.
Regards