New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

ReturnUrl Formatting Issues?

Return to previous page

  • 12/17/2012
  • 2781 Views

Question:

Greg Griffin long time ago
I have some confusion about how the login mechanism is supposed to work 


An un-authenticated user tries to visit http://www.mysite.com/Support/Overview.aspx?a=1&b=2&c=3 

They land at the login page with a URL of: https://www.mysite.com/Login.aspx?returnurl=/Support/Overview.aspx?a=1&b=2&c=3 

After logging in the user ends up at a page that is missing the 2nd and 3rd URL params: http://www.mysite.com/Support/Overview.aspx?a=1 

I sort of understand what's going on - I've got a URL embedded withing a URL and it's getting confused by that second question mark. 

The redirect will work if the returnURL format is encoded to be: ?returnUrl=%2FSupport%2FOverview.aspx%3Fa%3D1%26b%3D2%26c%3D3 

How can I get this to work? 

Thanks, Greg

ReturnUrl Formatting Issues?

Greg Griffin
Greg Griffin long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member