Browse Source

More webfinger search tweaks.

grunfink 3 months ago
parent
commit
6f11524c1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -4806,7 +4806,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
             }
 
             if (q && *q) {
-                if (xs_regex_match(q, "^@?[a-zA-Z0-9._]+@[a-zA-Z0-9-]+\\.")) {
+                if (xs_regex_match(q, "^@?[^@]+@[a-zA-Z0-9-]+\\.")) {
                     /** search account **/
                     xs *actor = NULL;
                     xs *acct = NULL;