diff options
author | default <nobody@localhost> | 2024-01-10 19:23:34 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-01-10 19:23:34 +0100 |
commit | cc535e9958bf8eb267f4f9f8e34cad40a5e6d589 (patch) | |
tree | 72be72cb485d91935f667d0d1b55ba0961fc3ca7 /mastoapi.c | |
parent | 7f6a79314634fa089718ec0f99e4231295e03d5b (diff) |
Added more webfinger checks, just to be sure.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1941,7 +1941,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, char *actor = NULL; char *user = NULL; - if (valid_status(webfinger_request(q, &actor, &user))) { + if (valid_status(webfinger_request(q, &actor, &user) && actor)) { xs *actor_o = NULL; if (valid_status(actor_request(&snac1, actor, &actor_o))) { |