Uploaded image for project: 'Jasig CAS Client for Java'
  1. Jasig CAS Client for Java
  2. CASC-122

CasSingleSignOutFilter affects character encoding when integrated with Confluence

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.11
    • Fix Version/s: 3.2.0
    • Component/s: Java
    • Labels:
      None
    • Environment:
      Confluence 3.2 std build 1810, encoding set to UTF-8.
      Linux 2.6.26-2-686, Apache Tomcat/6.0.14, Sun Microsystems Java 1.6.0_18, JVM implementaion 16.0-b13.
      Locale set to en_US.UTF-8.

      Description

      Download the java-client source code from tag 3.1.1 using SVN and built the cas-client-core-3.1.1.jar and cas-client-integration-atlassian-3.1.1.jar.

      Configure Confluence according to instructions here - https://wiki.jasig.org/display/CASC/Configuring+Confluence+with+JASIG+CAS+Client+for+Java+3.1

      Open Confluence and navigate to character encoding test page at relative URL /admin/encodingtest.action and copy-paste the text "Iñtërnâtiônàlizætiøn" as instructed and press Submit. The resulting page shows that the expected and actual strings do not match.

      Now reconfigure Confluence by commenting out the filter mapping for CasSingleSignOutFilter. Navigate to the same character encoding test page and proceed as before. The resulting page shows that now the expected and actual strings match.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                battags Scott Battaglia
                Reporter:
                andrussuitsu Andrus Suitsu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: