aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webfinger.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/webfinger.c b/webfinger.c
index 037aefa..893d777 100644
--- a/webfinger.c
+++ b/webfinger.c
@@ -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;
+
}
}
}