From cb9cae1af86b800aa4352d3536a14448caa31a66 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 13 May 2024 17:17:19 +0200 Subject: [PATCH] fix: calling this a fix is preposterous but it should *not* work *less* often??? --- src/server/context.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/context.rs b/src/server/context.rs index 07c45f6..4caa098 100644 --- a/src/server/context.rs +++ b/src/server/context.rs @@ -108,6 +108,7 @@ impl Context { // TODO theres already 2 edge cases, i really need to get rid of this id .replace('@', "/") + .replace("///", "/@/") // omg wordpress PLEASE AAAAAAAAAAAAAAAAAAAA .replace("//", "/@") // oops my method sucks!! TODO .replacen('+', "https://", 1) .replace(" ", "%20") // omg wordpress