ValidateInput Attribute Doesn't Work in ASP.NET 4.0(jdconley.com)

submitted by jconleyjconley(650) 2 years, 1 month ago

There is an issue with ASP.NET 4.0 and ASP.NET MVC 1 or 2 that causes the ValidateInput attribute, used to allow 'unsafe' content in requests, to no longer work. Here's a quick workaround.

add a comment |category: |Views: 23

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:
information Login or create an account to comment on this story