Detented from the client with potentially dangerous request.form values

xiaoxiao2021-03-06  59

When submitting a query, an error is reported to "detect a potentially dangerous request.form value" (.NET Framework1.1): 1. Web.config File Add this: example:

2, add ValidateRequest = "false" in the * .aspx file header, the example is as follows: <% @ page validaterequest = "false" language = "c #" codebehind = "index.aspx.cs" autoeventwireup = "false" inherits = "Mybbs.webform1"%>

转载请注明原文地址:https://www.9cbs.com/read-90742.html

New Post(0)