Fixed user profile url double-escaping

This commit is contained in:
Asaf Gartner 2021-12-21 06:24:05 +02:00
parent 12eb172f98
commit 88776cbb72
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func BuildUserProfile(username string) string {
if len(username) == 0 { if len(username) == 0 {
panic(oops.New(nil, "Username must not be blank")) panic(oops.New(nil, "Username must not be blank"))
} }
return Url("/m/"+url.PathEscape(username), nil) return Url("/m/"+username, nil)
} }
var RegexUserSettings = regexp.MustCompile(`^/settings$`) var RegexUserSettings = regexp.MustCompile(`^/settings$`)