osm-smart-menu
osm-smart-menu copied to clipboard
User name with spaces gets wrong osmcha url
If a user has space in their user name, trying to link from thier osm.org profile to osmcha.org creates wrong url.
e.g.
https://www.openstreetmap.org/user/Bruno%20Girard
gets parsed into
https://osmcha.org/?filters=%7B%22users%22:[%7B%22label%22:%22%22,%22value%22:%22Bruno%2520Girard%22%7D]%7D
Correct should be
https://osmcha.org/?filters=%7B%22users%22:[%7B%22label%22:%22%22,%22value%22:%22Bruno%20Girard%22%7D]%7D