We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834c937 commit 2897e49Copy full SHA for 2897e49
waf.lua
@@ -41,7 +41,7 @@ elseif PostCheck then
41
return true
42
end
43
size = size + len(data)
44
- local m = ngx.re.match(data,'Content-Disposition: form-data;(.+)filename="(.+)\\.(.*)"','ijo')
+ local m = ngxmatch(data,'Content-Disposition: form-data;(.+)filename="(.+)\\.(.*)"','ijo')
45
if m then
46
fileExtCheck(m[3])
47
filetranslate = true
0 commit comments