mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
Account names can also contain periods (in account search).
This commit is contained in:
parent
05d6e41710
commit
240f212252
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -3080,7 +3080,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (q && *q) {
|
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 **/
|
/** search account **/
|
||||||
xs *actor = NULL;
|
xs *actor = NULL;
|
||||||
xs *acct = NULL;
|
xs *acct = NULL;
|
||||||
|
|
Loading…
Reference in a new issue