aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-12-21 18:40:09 +0100
committerdefault <nobody@localhost>2024-12-21 18:40:09 +0100
commit240f212252f9cc2a16d2accda7c619a90702da9c (patch)
treef67986ceff921da43fadcf149fe49c8b6965d9da
parent05d6e41710ed46526f42048dbf24cc3185ba3aa6 (diff)
Account names can also contain periods (in account search).
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 4060262..2c0a823 100644
--- a/html.c
+++ b/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;