mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Always redirect to referer for '/subscription_ajax'
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user