Potentially dangerous input ASP.NET
<p>.NET 4.0<br>
VS 2012<br>
IIS 7</p>

<p>I have an app that takes in email addresses on various pages, and I'm finding that users are copy/pasting directly into a few inputs and it's triggering the error mentioned in the title, here's an example.</p>

<pre><code>"blah blah" &lt;blah@blah.com&gt;
</code></pre>

<p>Obviously the brackets are triggering the problem.  I realize I can simply switch the validation to 2.0, but I would prefer not doing that, so here are my question(s).</p>

<ul>
<li><p>Is there a way to have the runtime react better?  When this is encountered, instead of throwing up an uber scary page it treats it as an input error and displays a message to the user (in the general case)  For example, in scenario I'm speaking of, I could display an error message about &lt; and > not being allowed in email addresses.  I like the protection, but I dislike the idea that the 'oops' page is shown everytime someone enters input that's potentially dangerous.</p></li>
<li><p>If I were to relax the validation:</p>

<ul>
<li>Can I do it on a per page basis?  I don't believe so, but I'm asking for completeness</li>
<li>What tools does ASP.NET give me to protect myself against these types of issues manually?  I really don't want to get into the game of writing stuff to look over the input for potentially dangerous things.</li>
</ul></li>
</ul>
