Hi there,
I try to create a single URL Rewrite rule that simply supports delay.
Like
http://delay.local/10000/http://www.google.com
as in
http://delay.local/{millisecs}/{url}
the aspx I redirect to sleeps the thread for {millisecs} and then redirects {url}
The Threading.Thread.Sleep works fine but if I Response.Write URL-variable the URL only contains one / - like http:/www.google.com
The regex is pretty simple ([0-9]+)/(.*) and the 'Test pattern' gives me my result as I want it.
If I call the default.aspx directly as in default.aspx?url=http://www.google.dk the Response.Write includes both (//). So I take it's something with the URL Rewriter that trashes my foreslash. I've tried to set url to ////////// and again it is replaced by 1 /.
So how do I tell URL Rewriter to leave my / alone?
Oh and for the record: I am pretty new to URL Rewrite.
// peter