commit 240f212

default  ·  2024-12-21 17:40:09 +0000 UTC
parent 05d6e41
Account names can also contain periods (in account search).
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -3080,7 +3080,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
2             }
3 
4             if (q && *q) {
5-                if (xs_regex_match(q, "^@?[a-zA-Z0-9_]+@[a-zA-Z0-9-]+\\.")) {
6+                if (xs_regex_match(q, "^@?[a-zA-Z0-9._]+@[a-zA-Z0-9-]+\\.")) {
7                     /** search account **/
8                     xs *actor = NULL;
9                     xs *acct = NULL;