Add fix for spaces in content-disposition

このコミットが含まれているのは:
Omar Roth 2019-02-24 16:17:04 -06:00
コミット 955b36913f
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -4051,7 +4051,7 @@ get "/videoplayback" do |env|
env.response.status_code = response.status_code
if title = env.params.query["title"]?
env.response.headers["Content-Disposition"] = "attachment; filename=#{title}"
env.response.headers["Content-Disposition"] = "attachment; filename=\"#{title}\""
end
response.headers.each do |key, value|