iftomkins
11 years agoMaven
SSO registration page strips anchor from URL when redirects
 Background: Our community is private, so all users who view it are signed in with SSO. To participate (vote/reply/etc.), users must choose a username.     The Problem: When we send users to the SSO p...
- 11 years agohi iftomkins Afraid it's not possible. if I understand correctly, the browser will not send the URL fragment to server Here's a quote from: https://blog.httpwatch.com/2011/03/01/6-things-you-should-know-about-fragment-urls/ " 2. Fragments Are not Sent in HTTP Request MessagesIf you try using fragment URLs in an HTTP sniffer like HttpWatch, you’ll never see the fragment IDs in the requested URL or Referer header. The reason is that the fragment identifier is only used by the browser – it doesn’t affect which resource is returned from the server. " Since the Server never gets the URL fragment ID, it will not be able to redirect with any fragment ID