Parcourir la source

Allow , in username to support multiple users

Fixes #1329
Zed il y a 9 mois
Parent
commit
e741385828
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/routes/timeline.nim

+ 1 - 1
src/routes/timeline.nim

@@ -114,7 +114,7 @@ proc createTimelineRouter*(cfg: Config) =
     get "/@name/?@tab?/?":
       cond '.' notin @"name"
       cond @"name" notin ["pic", "gif", "video", "search", "settings", "login", "intent", "i"]
-      cond @"name".allCharsInSet({'a'..'z', 'A'..'Z', '0'..'9', '_'})
+      cond @"name".allCharsInSet({'a'..'z', 'A'..'Z', '0'..'9', '_', ","})
       cond @"tab" in ["with_replies", "media", "search", ""]
       let
         prefs = cookiePrefs()