UrlRewriter.Net with URL with final dot
- by devio
I want to use UrlRewriter.Net as described in this blog by ScottGu.
In the example below, page.aspx should display a page text stored in the database based on the title= URL parameter.
After a couple of tweaks the only remaining issue seems to be that
a final dot in the URL causes a 404
a sequence of two dots in the URL causes a 400
Windows 7, IIS 7 with Integrated AppPool, VS2008.
Looking at the Failed Request Log, it seems that the UrlRewriter module is called after retrieving the request handler.
Can these two issues be fixed, or is there a better replacement for UrlRewriter? (A related question only asks about the 404)
Edit: This behavior can even be reproduced on SO, so maybe there is no work-around?