commit 6f11524

grunfink  ·  2026-04-27 16:28:05 +0000 UTC
parent c307e99
More webfinger search tweaks.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -4806,7 +4806,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-]+\\.")) {
7                     /** search account **/
8                     xs *actor = NULL;
9                     xs *acct = NULL;