Restless question A potentially dangerous Request.Form value was detected from the client:)
Here is my use case: I have an FCKEditor control on a web page that allows users to enter HTML. The exact web page is validated to allow its use, but there are links on my main page that can cause callbacks on other pages.
Obviously, I do not want to unnecessarily refuse to check on every page of my site, but I would like for me to be able to calmly deactivate the input (either by deleting the erroneous field from the request form or checking it).
I see that OnInit or ProcessRequest can be overridden on the page, but I would like to do this on the main page, if possible. (I'm not even sure I can recover from HttpRequestValidationException)
Any idea on how I can do this?
Change . I played with Page_Error, which successfully catches the error, but I cannot find how to resume processing after I verified that the request was really legal.
source
share