[openstreetmap/openstreetmap-website] Allow getting a GPX in the browser outside openstreetmap.org (Issue #5639)

Tom Hughes notifications at github.com
Sun Feb 23 19:51:37 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#5639)

Having now setup a test and tried this locally I think we may all have been misunderstanding the exact problem here, mainly due to the somewhat confusing error from the browser.

What confused me was the "redirect is not allowed for a preflight request" which makes it sounds like the preflight got redirected but in Firefox the complaint is simply that it got redirected to the active storage endpoint and CORS didn't allow access to that which is in fact the real problem - that GPX downloads get redirected to active storage but we don't currently allow cross origin access to that.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5639#issuecomment-2677082427
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5639/2677082427 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250223/7cbfb90c/attachment.htm>


More information about the rails-dev mailing list