Escape user name in profile URL

This commit is contained in:
Minh Nguyễn
2021-11-17 18:18:08 -08:00
parent 3f09ebee59
commit 3956b4415f
+1 -1
View File
@@ -589,7 +589,7 @@ export default {
userURL: function(username) {
return urlroot + '/user/' + username;
return urlroot + '/user/' + encodeURIComponent(username);
},