Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-641

PicketLink SP doesn't store RleayState equivalent with special characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • SAML
    • None
    • Hide

      Do a normal SP and IDP setup.
      Create a test page on the SP that looks like

      hi<br>
      Click <a href="#chapter4">here</a> to read chapter 4. <br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      adfssssssss<br>
      .....lots more lines of the same...
      <a name="chapter4">Chapter 4</a><br>
      anchor jump<br>

      Go to SP/123.html and observe correct behavior.
      Go to SP/123.html#chapter4 and observe incorrect behavior.

      Show
      Do a normal SP and IDP setup. Create a test page on the SP that looks like hi<br> Click <a href="#chapter4">here</a> to read chapter 4. <br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> adfssssssss<br> .....lots more lines of the same... <a name="chapter4">Chapter 4</a><br> anchor jump<br> Go to SP/123.html and observe correct behavior. Go to SP/123.html#chapter4 and observe incorrect behavior.

      Starting a fresh SP INIT session by going to a PL SP that includes a special character-an anchor/hash # was the only thing tried-will send you to the IDP as expected, but after login you will not wind back up at the original URL you requested.

      For example:
      Going to http://dmtest.int-idp.dev.ext.devlab.redhat.com:8080/sales/abc/123.html after the login jump you end up at http://dmtest.int-idp.dev.ext.devlab.redhat.com:8080/sales/abc/123.html as expected.

      However, going to http://dmtest.int-idp.dev.ext.devlab.redhat.com:8080/sales/abc/123.html#chapter4 after the login jump you end up at http://dmtest.int-idp.dev.ext.devlab.redhat.com:8080/sales/abc/123.html. The # and things after it are removed.

      This is affecting an ajax application in a more spectacular way than this simple page anchor example.

            psilva@redhat.com Pedro Igor Craveiro
            rhit_dminnich Dustin Minnich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: