Decode username https://github.com/iv-org/invidious/pull/3656
This commit is contained in:
1 parent
71453237c4
commit
0e2be8d5bb
1 file changed
+1
-1
@@ -39,7 +39,7 @@ namespace Http
|
|||||||
username = request.query["username"]
|
username = request.query["username"]
|
||||||
' TODO: remove null check after 6 months of https://github.com/iv-org/invidious/pull/3603
|
' TODO: remove null check after 6 months of https://github.com/iv-org/invidious/pull/3603
|
||||||
if username <> invalid
|
if username <> invalid
|
||||||
username = username.DecodeUriComponent()
|
username = username.DecodeUriComponent().DecodeUriComponent()
|
||||||
end if
|
end if
|
||||||
|
|
||||||
InvidiousSettings.SetAuthToken(token, referer, username)
|
InvidiousSettings.SetAuthToken(token, referer, username)
|
||||||
|
|||||||
Reference in new issue
Block a user