Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

Login.aspx ReturnURL does not work properly with multiple parameters

When I pass multiple parameters to a ReturnURL it only will return the first one.

For instances, the link:

https://www.mysite.com/signin.aspx?ReturnURL=t-custom-loadform-best-offer.aspx?our=84.99&stock=V0206&pname=AC%20Compressor%20:%20TL%2004-06%20(3.2L,%206%20cyl)

Will return only:

t-custom-loadform-best-offer.aspx?our=84.99

When it should return:

t-custom-loadform-best-offer.aspx?our=84.99&stock=V0206&pname=AC%20Compressor%20:%20TL%2004-06%20(3.2L,%206%20cyl)

I am scaping the ampersand (&) with & and tried also %26.

I have struggled with it for a long time and couldn't find a soution so far. It seems to be a bug in Login.aspx script.

Any idea?

Thanks!
asked Apr 29, 2014 in MultiStore by Yan Kleber (1,245 points)

2 Answers

0 votes

You have to escape out the entire ReturnURL you are sending... it basically thinks the parameters after the first & are querystrings of the signin's request (signin's not the topics).

Thank you,
Jan
 
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
------------------------------------------------------------------------------------------------------
answered Apr 29, 2014 by jsimacek (6,865 points)
0 votes
Jan,

How can I make it? I am a bit confused how to escape the entire URL. Could you post me an example?

Thanks,

Yan
answered Apr 30, 2014 by Yan Kleber (1,245 points)
...