Announcement Announcement Module
Collapse
No announcement yet.
Login targets, how do i get the target url to preserve the data after the # sign? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Login targets, how do i get the target url to preserve the data after the # sign?

    When i do "http://something/view#/page/mystuff" and successfully login. The target url is "http://something/view". How do i get the target url to preserve the data after the # sign.

    My spring config for login:

    <form-login login-page='/login' default-target-url='/view' always-use-default-target='false' authentication-failure-url="/login?authfailed=true"/>

  • #2
    Browsers do not send the the fragment portion of the URL to the server, so there is not really anything Spring Security can do on its own. A search returns a few ways of this with javascript.

    Comment

    Working...
    X