Selective check

I have a form in which there are many text fields, and they are all checked, I also added a NiceEdit plugin to be able to format the text in my text areas, but it causes errors, such as:

The potentially dangerous Request.Form value was detected by the client

Now I can just go to the top of the page and add to the page directive ValidateRequest="false", but this will deprive me of all the verification that I really need, so how can I turn off the verification for my text areas?

VB.net, ASP.net 3.5, VWD 2008 Express ...

thanks

+3
source share
1 answer

ValidateRequest / . HTML , XSS/HTML.

, , . .

, , HTML "NiceEdit", :

  • ValidateRequest . .

  • ValidateRequest , , , Javascript HTML ( Regex "<;" " > " ), .

.

+4

Source: https://habr.com/ru/post/1705859/


All Articles