[openstreetmap/openstreetmap-website] Allow `user/preferences/[KEY]` to accept arbitrary keys (PR #3787)

mmd notifications at github.com
Wed Nov 16 19:21:42 UTC 2022


> or as a query parameter (as suggested by [me], which unfortunately also doesn't support #).

Encoding the hash character as %23 should do the job (e.g. `encodeURIComponent('#')` ). I would hope Rails handles the resulting string properly.

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

Message ID: <openstreetmap/openstreetmap-website/pull/3787/c1317549643 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221116/01bc2ef2/attachment-0001.htm>


More information about the rails-dev mailing list