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

Subjects when id has html entity fail to add through add member combo box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.6.6
    • 2.6.5
    • None
    • None

    Description

      def gs = GrouperSession.startRootSessionIfNotStarted().grouperSession
      subject = RegistrySubject.add(s=gs,
                                id='1001&""',
                                type="person",
                                name='Sally Tables',
                                nameAttributeValue='Sally ; DROP TABLE & " "',
                                loginid='stables',
                                description='Sally ; DROP TABLE & " "',
                                email="sally.tables@somewhere.someSchool.edu")
      

      When adding this subject to a group, it shows up in the list but can't be added. Selecting it and adding gives Grouper error: "Select an entity from the search results"

      I think the dojoComboQueryLogic class shouldn't be escaping the id, since it's setting an element value, not displaying it as html

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: