Add fix for videoplayback requests with trailing slash

This commit is contained in:
Omar Roth 2018-07-15 20:54:01 -05:00
parent f05afaf342
commit aa389399bc

View File

@ -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)