[openstreetmap/openstreetmap-website] old user preferences containing "%" break PUT on /api/0.6/user/preferences (Issue #4467)

mmd notifications at github.com
Wed Jan 10 21:04:11 UTC 2024


I cannot reproduce your issue locally:

![image](https://github.com/openstreetmap/openstreetmap-website/assets/5842757/ebd53ac2-56fd-4ff8-b7e3-d369afe5a0f4)

Verifying the previous request:

![image](https://github.com/openstreetmap/openstreetmap-website/assets/5842757/c49a3b75-f3fe-4398-b1c4-3a6181c298a8)

I also checked the exact same requests on https://master.apis.dev.openstreetmap.org/, and it's also working as shown above.

Presumably, you're sending your request with a Content-Type application/x-www-form-urlencoded or something similar, in which case the request fails with HTTP 400.


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

Message ID: <openstreetmap/openstreetmap-website/issues/4467/1885729610 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240110/90f50b7c/attachment.htm>


More information about the rails-dev mailing list