mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 22:39:31 -05:00
encode username on callback
This commit is contained in:
parent
e7a9aeff95
commit
6ee51f460a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user