From 0e2be8d5bb0767ef2dd3af62c0ef27bccf5f9622 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Wed, 22 Feb 2023 09:00:41 -0500 Subject: [PATCH] Decode username https://github.com/iv-org/invidious/pull/3656 --- .../src/components/WebServer/Middleware/InvidiousRouter.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs b/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs index 91be45ff..7c41207a 100644 --- a/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs +++ b/playlet-lib/src/components/WebServer/Middleware/InvidiousRouter.bs @@ -39,7 +39,7 @@ namespace Http username = request.query["username"] ' TODO: remove null check after 6 months of https://github.com/iv-org/invidious/pull/3603 if username <> invalid - username = username.DecodeUriComponent() + username = username.DecodeUriComponent().DecodeUriComponent() end if InvidiousSettings.SetAuthToken(token, referer, username)