Permalink
Browse files

API4 -> API5

  • Loading branch information...
bjorn-nesby committed Jun 27, 2016
1 parent 4a347ab commit e00506466b45e2ee8b77d71ba2553b819924fedc
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/renoise/http/request.lua
@@ -1225,7 +1225,7 @@ function Request:_do_callback(socket_error)
local cd = self:_get_header("Content-Disposition")
if (cd and #cd > 0) then
log:info("Content-Disposition: " .. cd)
filename = cd:match('filename\s*=\s*(.+)$')
filename = cd:match('filename%s*=%s*(.+)$')
-- remove surrounding quotes, when present
if (filename and filename:match('^"(.+)"$')) then
filename = filename:match('^"(.+)"$')

0 comments on commit e005064

Please sign in to comment.