临时转义下小写

pull/47/head
loveshell 10 years ago
parent a636af1bdd
commit 632f120540

@ -91,6 +91,7 @@ function whiteurl()
end end
function fileExtCheck(ext) function fileExtCheck(ext)
local items = Set(fileExtension) local items = Set(fileExtension)
ext=string.lower(ext)
if ext then if ext then
if not items[ext] then if not items[ext] then
log('POST',ngx.var.request_uri,"-","file attack with ext "..ext) log('POST',ngx.var.request_uri,"-","file attack with ext "..ext)

Loading…
Cancel
Save