[openstreetmap/openstreetmap-website] Specifiy invalid chars in username error message (#2044)

Tom Hughes notifications at github.com
Sun Nov 4 16:57:29 UTC 2018

They're not ASCII chars anyway, they're unicode code points ;-)

Note that the first group is the ones which have special meaning in URLs and are hence banned in fields which might become part of a URL while the second group are (or should be) just banned everywhere.

So I would tend to make the names more like `INVALID_URL_CHARACTERS` and `INVALID_CHARACTERS` rather than what you have now (technically characters is wrong but it will make more sense to a casual reader).

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/20181104/8922885f/attachment.html>

More information about the rails-dev mailing list