aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-04-27 18:28:05 +0200
committergrunfink <grunfink@comam.es>2026-04-27 18:28:05 +0200
commit6f11524c1cd9eb82bbbdaa06473030392a9a06fb (patch)
treeb70e32d00357a89d75422cf41e47edeba7758e0a
parentc307e99141e27b8d2bab035a08a9e7ce3af7d03f (diff)
More webfinger search tweaks.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 3fd819f..3f57be6 100644
--- a/html.c
+++ b/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;