Merge pull request #3656 from iBicha/feature/auth-token-username

encode username on callback
This commit is contained in:
Émilien Devos (perso) 2023-02-22 14:41:42 +01:00 committed by GitHub
commit 0995e0447c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ module Invidious::Routes::Account
end
query["token"] = access_token
query["username"] = user.email
query["username"] = URI.encode_path_segment(user.email)
url.query = query.to_s
env.redirect url.to_s