diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |