From 6129973b13d95621c1ab0535cecf95d24dc4cb22 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 31 May 2024 15:56:25 +0200 Subject: [PATCH] fix: gts uses a path but its not real??? --- upub/core/src/server/auth.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/upub/core/src/server/auth.rs b/upub/core/src/server/auth.rs index 226dd964..837e6a9c 100644 --- a/upub/core/src/server/auth.rs +++ b/upub/core/src/server/auth.rs @@ -115,6 +115,7 @@ where // TODO assert payload's digest is equal to signature's let user_id = http_signature.key_id + .replace("/main-key", "") // gotosocial whyyyyy .split('#') .next().ok_or(UpubError::bad_request())? .to_string();