Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1659

SubjectId not encoded properly in Grouper UI

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0, 2.3.0.patch
    • 2.3.1, 2.4.0, 2.3.0.patch
    • UI
    • None

    Description

      Hi,

      I’m working on a project where the subectId can contain plus signs. In this case it is an email address (yes, plus signs are legit for email addresses). When clicking on the subject link in the Grouper UI, the UI returns “Error: cannot find subject”. I believe the plus is being translated as a space instead of a plus.

      Here’s a sample url created by the UI:

      http://localhost:8080/grouper/grouperUi/app/UiV2Main.index?operation=UiV2Subject.viewSubject&subjectId=mailbox+folder@test.com&sourceId=externalUsers

      What it should be:

      http://localhost:8080/grouper/grouperUi/app/UiV2Main.index?operation=UiV2Subject.viewSubject&subjectId=mailbox%2Bfolder@test.com&sourceId=externalUsers

      My guess is that many of the other special symbols will do the same thing.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            john.gasper@at.internet2.edu John Gasper (unicon.net)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist