Uploaded image for project: 'Shibboleth Discovery Service - Java'
  1. Shibboleth Discovery Service - Java
  2. SDSJ-64

Needs to clean non printing whitespace from Organization DisplayName before outputing javascript arrays

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.1
    • Labels:
      None
    • Java Version:
      Sun 1.6
    • Servlet Container:
      Apache Tomcat 5.5

      Description

      The jsp used to output the adata which is fed into ther javascript quick search code just blindly outputs <OrganizationDisplayName>.

      We had a case revenetly where that contained a CRLF and a bunch of extra space. This produced incorrect javascript

      Foo = [ [ "entittyId", "some stuff
         With a line break"], ];

      We need to guard agains this by cleaning such guff out of the organizationdisplayname before emitting the javascript.

        Attachments

          Activity

            People

            • Assignee:
              lajoie@georgetown.edu Chad La Joie
              Reporter:
              rdw Rod Widdowson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Smart Checklist