Watch
1
0
Fork
You've already forked nitter
0
mirror of https://github.com/zedeus/nitter synced 2026-11-22 12:57:19 +00:00

Allow , in username to support multiple users

Fixes #1329
This commit is contained in:
Zed 2025-11-30 18:06:22 +01:00
commit e741385828

View file

@ -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()