Browse Source

Account names can also contain periods (in account search).

default 3 months ago
parent
commit
240f212252
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -3080,7 +3080,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._]+@[a-zA-Z0-9-]+\\.")) {
                     /** search account **/
                     xs *actor = NULL;
                     xs *acct = NULL;