Commit 6add0f2b by Joneq

增加对script的验证

parent ac50b5a9
Showing with 1 additions and 1 deletions
......@@ -65,7 +65,7 @@ elseif "POST" == request_method then
args = ngx.req.get_post_args()
end
---如果参数中有<script>...</script>怎跳转google验证
for k, v in pairs(args) do
for k, v in ipairs(args) do
if string.find (v, '<script>', 1) ~= nil then
redirect.checkgoogle(red)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment