Add fix for videoplayback requests with trailing slash

pull/8/head
Omar Roth 7 years ago
parent f05afaf342
commit aa389399bc

@ -997,6 +997,7 @@ get "/videoplayback*" do |env|
path = env.request.path path = env.request.path
if path != "/videoplayback" if path != "/videoplayback"
path = path.lchop("/videoplayback/") path = path.lchop("/videoplayback/")
path = path.rchop("/")
path = path.split("/") path = path.split("/")
raw_params = {} of String => Array(String) raw_params = {} of String => Array(String)

Loading…
Cancel
Save