commit d5f0aca
default
·
2024-09-19 13:02:00 +0000 UTC
parent 836b663
Log fake uids in webfinger_request_fake().
1 files changed,
+3,
-0
+3,
-0
1@@ -134,9 +134,12 @@ int webfinger_request_fake(const char *qs, xs_str **actor, xs_str **user)
2 xs *l = xs_split(qs, "/");
3
4 if (xs_list_len(l) > 3) {
5+ srv_debug(1, xs_fmt("webfinger error querying %s %d -- faking it", qs, status));
6+
7 /* i'll end up in hell for this */
8 *user = xs_fmt("%s@%s", xs_list_get(l, -1), xs_list_get(l, 2));
9 status = HTTP_STATUS_RESET_CONTENT;
10+
11 }
12 }
13 }