[openstreetmap/openstreetmap-website] Move jquery .load() to fetch (PR #5731)

Tom Hughes notifications at github.com
Fri Feb 28 16:59:44 UTC 2025


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

I don't understand why jQuery was adding the csrf token automatically here when we always seem to have added it manually in other places. Very odd...

Other places actually add it as a parameter using the `csrf-param` meta value as the name but I guess it doesn't matter.

I suspect a lot of these are candidates for switching to turbo anyway.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5731/c2691132571 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250228/956b2fb3/attachment-0001.htm>


More information about the rails-dev mailing list