ethan-nelson / osmhm_site

OSM Hall Monitor frontend
MIT License
2 stars 2 forks source link

Encode the URL sent by email #9

Open naoliv opened 7 years ago

naoliv commented 7 years ago

When the mapper has a space in his username we receive an e-mail like this:

Username: http://www.osm.org/user/Some User Name

ie, only the first part is a link (to a broken, non-existent or different profile)

Since the message is plain text, a solution would be encoding the username, giving us something like:

Username: http://www.osm.org/user/Some%20User%20Name

ethan-nelson commented 7 years ago

Thx, will look into that shortly. The emails as a whole need to be overhauled :)

naoliv commented 7 years ago

No need to hurry. And it's a really nice service, BTW ;-)