ソースを参照

Allow , in username to support multiple users

Fixes #1329
Zed 9 ヶ月 前
コミット
e741385828
1 ファイル変更1 行追加1 行削除
  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()