encode username on callback

pull/3656/head
Brahim Hadriche 2 years ago
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…
Cancel
Save