I tried setting up a link to the login page with a ReturnUrl of one of the product pages. It never makes it to the login page because the rewrite engine keeps sending it to the URL specified in the ReturnUrl querystring parameter. Any ideas on how to prevent this? Shouldn't the standard redirects only take the path portion of the RawUrl into consideration?
On an unrelated note, why does the SSL => non-SSL cause you to lose the clean URLs? Why wasn't the requested RawUrl used to kick it over?
Rewrite Rules Include Querystring???
Re: Rewrite Rules Include Querystring???
In case anybody else has the issue, I replaced periods with %2E in the ReturnUrl and it bypassed the rewrite rule and redirected properly after login.