注册 登录
编程论坛 ASP技术论坛

防止注入问题

yaopeng0418 发布于 2010-06-07 14:45, 367 次点击
for i= 0 to ubound(nothis)
for each items in request.QueryString
if instr(unescape(request.QueryString(items)),nothis(i))<>0 then
errc=true
response.Write ("  ")
response.Write escape("错误:" & server.HTMLEncode(unescape(request.QueryString(items))) & "含非法字符:" & nothis(i))
response.Write ("<br>")
  

end if
next
next请问这段话有错误吗,怎么老不执行那
1 回复
#2
gupiao1752010-06-07 15:14
你的nothis是什么内容??这个数组包括了什么??
1