When i visit http://localhost:17357/u/a%2fa/m/ssd-10
and look at HttpContext.Current.Request.Url
in Application_BeginRequest i see http://localhost:17357/u/a/a/m/ssd-10
huh? shouldnt i get http://localhost:17357/u/a%2fa/m/ssd-10
? i thought the point of escaping urls is so ?, &, / and other special symbols not be confused with their special meaning in urls. Maybe theres a config i need to tweak?
I created 4 usernames, there are
a?@!&ee
a?@!/&ee
as d
クイン
with the links as
<a href="/u/a%3f%40%21%26ee">a?@!&ee</a><br>
<a href="/u/a%3f%40%21%2f%26ee">a?@!/&ee</a><br>
<a href="/u/as%20d">as d</a><br>
<a href="/u/%ef%bd%b8%ef%bd%b2%ef%be%9d">クイン</a>
The last two work, but the first two i get the exceptio
A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll
Additional information: Illegal characters in path.
then
A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll
Additional information: '/u/a?@!&ee' is not a valid virtual path.
and my page says Bad Request
. How can i allow these usernames to work. If its impossible how can i write a workaround?