[openstreetmap/openstreetmap-website] Tags containing 0x7f unicode control character (#1213)

mmd notifications at github.com
Tue May 3 18:01:29 UTC 2016

Recently, [someone noticed strange unicode characters in some keys/values](http://forum.openstreetmap.org/viewtopic.php?pid=590901#p590901). It looks like this unicode control character 0x7f made it to the main database. Is `0x7f` a permitted control character, or did it simply slip through some validation checks?

As an example: http://www.openstreetmap.org/api/0.6/node/3188718399 - with 0x7f as first character for `phone`

I'm not sure if the main API would still accept 0x7f, or if this has been fixed at some point in the past already. Also, the questions comes up how to deal with existing data in the database? Would a manual clean up be an option?

As the diff files don't contain any `0x7f` character, I guess a more recent planet would be required to identify relevant objects.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160503/68da27d0/attachment.html>

More information about the rails-dev mailing list