diff --git a/app/v1/user.go b/app/v1/user.go index 807816c..5ef904d 100644 --- a/app/v1/user.go +++ b/app/v1/user.go @@ -291,6 +291,7 @@ func UserLookupGET(md common.MethodData) common.CodeMessager { name := strings.NewReplacer( "%", "\\%", "_", "\\_", + "\\", "\\\\", ).Replace(md.C.Query("name")) if name == "" { return common.SimpleResponse(400, "please provide an username to start searching")