In ASP.NET if the Page's ValidateRequest property is set to true, posted data is checked to see if it contains potentially malicious input data, such as HTML and JavaScript.
While this is useful and creates a more secure default environment to prevent cross-site scripting, it can be very user unfriendly if users attempt to post hyperlinks or linked images to your application. Simply put, you could disable this property and perform input validation on the server side to attempt to remove malicious data, but instead I'll show you how to gracefully handle suspected malicious code.
Recent comments
3 days 8 min ago
4 days 2 hours ago
4 days 2 hours ago
4 days 20 hours ago
4 days 20 hours ago
2 weeks 21 hours ago
6 weeks 17 hours ago
22 weeks 3 days ago
23 weeks 2 days ago
1 year 8 weeks ago