title: .NET MVC Routing w/ Url Encoding Problems
body: <p>I have the following routing code:</p>
  
  <pre><code>routes.MapRoute(
              "email-validated/{sessionId}",
              "email-validated/{sessionId}",
              new { controller = "User", action = "EmailValidated", sessionId = UrlParameter.Optional }
              );
  </code></pre>
  
  <p>When I hit the route w/ something that is url encoded it won't match the route for %2f, %2b and some other escaped characters. It also won't match for non url encoded (things w/ + etc) For instance</p>
  
  <p>This works:</p>
  
  <blockquote>
    <p>email-validated/XQiKC6KMM%2cmko4nOvzGRwPu9oaZFoCtXsFFJg3ZTf9S5rsBbLGjnz3FN3SJ0apEZcqK1PIcCY28mRMykB39XnFLKaL7390CDfLZiV77cso</p>
  </blockquote>
  
  <p>This doesn't work ( containts %2f etc):</p>
  
  <pre><code>email-validated/XQiKC6KMM%2fmko4nOvzGRwPu9oaZFoCtXsFFJg3ZTf9S5rsBbLGjnz3FN3SJ0apEZcqK1PIcCY28mRMykB39XnFLKaL7390CDfLZiV77cso
  </code></pre>
  
  <p>This doesn't work (contains + etc)</p>
  
  <pre><code>email-validated/XQiKC6KMM+mko4nOvzGRwPu9oaZFoCtXsFFJg3ZTf9S5rsBbLGjnz3FN3SJ0apEZcqK1PIcCY28mRMykB39XnFLKaL7390CDfLZiV77cso
  </code></pre>