Rewrite Rules Include Querystring???

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Rewrite Rules Include Querystring???

Post by sweeperq » Tue Jul 07, 2015 6:51 am

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?

sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Re: Rewrite Rules Include Querystring???

Post by sweeperq » Wed Jul 08, 2015 4:15 am

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.

Post Reply