Browse Source

low ngxlua support ngxmatch

pull/47/merge v0.7
loveshell 10 years ago
parent
commit
2897e494ea
  1. 2
      waf.lua

2
waf.lua

@ -41,7 +41,7 @@ elseif PostCheck then
return true
end
size = size + len(data)
local m = ngx.re.match(data,'Content-Disposition: form-data;(.+)filename="(.+)\\.(.*)"','ijo')
local m = ngxmatch(data,'Content-Disposition: form-data;(.+)filename="(.+)\\.(.*)"','ijo')
if m then
fileExtCheck(m[3])
filetranslate = true

Loading…
Cancel
Save