[openstreetmap-website] Usernames are not XML-char safe (#759)

Andy Allan notifications at github.com
Sun Jun 15 14:52:10 UTC 2014


Usernames are changed directly through the web site, and don't go via the API. This means they can contain non-XML safe characters.

This isn't a problem using any XML API or dump, but could cause problems with e.g. history dumps.

They should be stripped of non-XML characters, c.f. https://github.com/openstreetmap/openstreetmap-website/blob/d27cc80b438b0943ac532b727b48b6ca6601f990/app/controllers/amf_controller.rb#L883

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140615/0ea94d41/attachment.html>


More information about the rails-dev mailing list