Browse Source

临时转义下小写

pull/47/head
loveshell 10 years ago
parent
commit
632f120540
  1. 1
      init.lua

1
init.lua

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

Loading…
Cancel
Save