mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 09:35:04 +00:00
Log fake uids in webfinger_request_fake().
This commit is contained in:
parent
836b66358d
commit
d5f0acaf87
1 changed files with 3 additions and 0 deletions
|
@ -134,9 +134,12 @@ int webfinger_request_fake(const char *qs, xs_str **actor, xs_str **user)
|
|||
xs *l = xs_split(qs, "/");
|
||||
|
||||
if (xs_list_len(l) > 3) {
|
||||
srv_debug(1, xs_fmt("webfinger error querying %s %d -- faking it", qs, status));
|
||||
|
||||
/* i'll end up in hell for this */
|
||||
*user = xs_fmt("%s@%s", xs_list_get(l, -1), xs_list_get(l, 2));
|
||||
status = HTTP_STATUS_RESET_CONTENT;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue