mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Always redirect to referer for '/subscription_ajax'
This commit is contained in:
parent
1e7873d8e9
commit
61f9e8667c
1 changed files with 3 additions and 3 deletions
|
@ -1033,7 +1033,7 @@ get "/subscription_ajax" do |env|
|
|||
if match
|
||||
session_token = match["session_token"]
|
||||
else
|
||||
next env.redirect "/"
|
||||
next env.redirect referer
|
||||
end
|
||||
|
||||
headers["content-type"] = "application/x-www-form-urlencoded"
|
||||
|
|
Loading…
Reference in a new issue