<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexandre+Herzog</id>
		<title>OWASP - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexandre+Herzog"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php/Special:Contributions/Alexandre_Herzog"/>
		<updated>2026-05-16T15:59:21Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ASP.NET_Request_Validation&amp;diff=102701</id>
		<title>ASP.NET Request Validation</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ASP.NET_Request_Validation&amp;diff=102701"/>
				<updated>2011-01-31T14:04:36Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Herzog: &amp;lt;? is also considered as a dangerous tag in ASP.NET 2.0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ASP.NET Provides built-in request validation on form submission or postback handling.  Request validation is on by default, and is handled differently by versions of the framework. &lt;br /&gt;
&lt;br /&gt;
==ASP.NET 1.1 Request Validation Summary==&lt;br /&gt;
&lt;br /&gt;
*Filter  &amp;quot;&amp;amp;#&amp;quot;&lt;br /&gt;
*Filter  ‘&amp;lt;’ then alphas or ! or / (tags)&lt;br /&gt;
*Filter  &amp;quot;script:&amp;quot;&lt;br /&gt;
*Filter  on handlers (onXXX=)&lt;br /&gt;
*Filter “expression(“&lt;br /&gt;
*Ignore elements named &amp;quot;__VIEWSTATE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ASP.NET 2.0 Request Validation Summary==&lt;br /&gt;
&lt;br /&gt;
*Filter  &amp;quot;&amp;amp;#&amp;quot;&lt;br /&gt;
*Filter  ‘&amp;lt;’ then alphas or ! or / or ? (tags)&lt;br /&gt;
*Ignore elements with names prefixed with double underscore (__)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ValidateRequest Setting==&lt;br /&gt;
===To toggle request validation (it is set to true by default):===&lt;br /&gt;
&lt;br /&gt;
On a single page:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;%@ Page validateRequest=&amp;quot;true|false&amp;quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the entire application:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;configuration&amp;gt;&lt;br /&gt;
     &amp;lt;system.web&amp;gt;&lt;br /&gt;
          &amp;lt;pages validateRequest=&amp;quot;true|false&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;/system.web&amp;gt;&lt;br /&gt;
  &amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
[http://phed.org/2008/04/23/aspnet-20-dumbs-down-request-validation/ ASP.NET 2.0 dumb’s down request validation (by Michael Eddington)]&lt;br /&gt;
&lt;br /&gt;
[http://keepitlocked.net/archive/2007/10/30/asp-net-validaterequest-and-the-html-attribute-based-cross-site-scripting.aspx ASP.NET ValidateRequest and the HTML Attribute Based Cross Site Scripting]&lt;br /&gt;
&lt;br /&gt;
[[Category:OWASP .NET Project]]&lt;/div&gt;</summary>
		<author><name>Alexandre Herzog</name></author>	</entry>

	</feed>