101 reputation
18
bio website
location Arizona
age
visits member for 4 years, 7 months
seen May 23 at 17:21

Nov
1
awarded  Notable Question
Jan
22
awarded  Popular Question
Sep
26
comment Properly handle IIS request with percent sign in url (/%)
@bzlm no, it doesn't get added to the IIS logs or the failed request logs. I'd also like to return a custom page too though.
Jun
20
awarded  Scholar
Jun
20
accepted Properly handle IIS request with percent sign in url (/%)
Apr
17
awarded  Benefactor
Apr
14
comment Properly handle IIS request with percent sign in url (/%)
I understand the implications of all of these things but Apache and other web servers allow for it as should IIS. Improperly escaped URL's are the only URL's IIS won't let you handle that I know of. IIS should and does allow other characters that don't maps to the NTFS file system because my site is built using ASP.NET MVC where requests will be routed to non-file based resources.
Apr
12
comment Properly handle IIS request with percent sign in url (/%)
I prefer to properly log and handle all errors myself to monitor any invalid strange combination of invalid urls that are getting dynamically generated on my site - in the event one isn't getting properly url escaped.
Apr
12
comment Properly handle IIS request with percent sign in url (/%)
I just tried option 1 and #2 again and neither of them work. IIS is handling this request specially like Scott mentions.
Apr
12
comment Properly handle IIS request with percent sign in url (/%)
None of these work - IIS never passes along the request.
Apr
11
comment Properly handle IIS request with percent sign in url (/%)
Yes I do (and /% is just an example URL, but obviously the error happens with every invalid escape character). IIS is handling the 400, but I want to show a custom 400 page like I can with other status codes in IIS, and like how non-IIS servers can for 400.
Apr
11
awarded  Promoter
Apr
9
awarded  Student
Apr
9
awarded  Editor
Apr
9
revised Properly handle IIS request with percent sign in url (/%)
edited title
Apr
9
asked Properly handle IIS request with percent sign in url (/%)
Mar
25
awarded  Supporter
Mar
7
answered How do I restore a database on a remote SQL server 2005 from a local backup?
Feb
27
awarded  Autobiographer