mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Escape user name in profile URL
This commit is contained in:
@@ -589,7 +589,7 @@ export default {
|
||||
|
||||
|
||||
userURL: function(username) {
|
||||
return urlroot + '/user/' + username;
|
||||
return urlroot + '/user/' + encodeURIComponent(username);
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user