mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add fix for videoplayback requests with trailing slash
This commit is contained in:
parent
f05afaf342
commit
aa389399bc
1 changed files with 1 additions and 0 deletions
|
@ -997,6 +997,7 @@ get "/videoplayback*" do |env|
|
|||
path = env.request.path
|
||||
if path != "/videoplayback"
|
||||
path = path.lchop("/videoplayback/")
|
||||
path = path.rchop("/")
|
||||
path = path.split("/")
|
||||
|
||||
raw_params = {} of String => Array(String)
|
||||
|
|
Loading…
Reference in a new issue