Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9664

"Return to Login Page" link after logout does not encode the goto URL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 13.5.0
    • Fix Version/s: None
    • Component/s: XUI
    • Labels:
    • Environment:
      OpenAM 13.5.0
      Apache_v24_Linux_64bit_4.0.1
    • Sprint:
      AM Sustaining Sprint 34
    • Story Points:
      1
    • Support Ticket IDs:

      Description

      Steps to reproduce:

      1. Configure an Agent and policy to protect resource "http://1350.example.com/sec/sec.php?query=val"

      2. Access the resource. Check the goto URL is encoded:

      http://1350.example.com:8080/openam/XUI/#login/&goto=http%3A%2F%2F1350.example.com%2Fsec%2Fsec.php%3Fquery%3Dval
      

      3. Logout at "http://1350.example.com:8080/openam/UI/Logout"

      4. Click on the "Return to Login Page" link.

      Expected result:

      The goto url is encoded as before. E.g.

      http://1350.example.com:8080/openam/XUI/#login/&goto=http%3A%2F%2F1350.example.com%2Fsec%2Fsec.php%3Fquery%3Dval
      

      Actual result:
      The goto URL is not encoded.

      http://1350.example.com:8080/openam/XUI/#login/&goto=http://1350.example.com/sec/sec.php?query=val
      

      Which results in the query parameter being lost after authentication.

      This does not affect 13.0.0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andrew.dunn Andrew Dunn [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: