PrivateCredentialPermission incorrectly canonicalizes spaces in names

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.0
    • Component/s: security-libs
    • None
    • merlin
    • generic
    • generic

      When PrivateCredentialPermission parses principal names in the target, it replaces multiple contiguous spaces with a single space. As a result, a permission created with target
          "foo bar \"foo bar\"
      will imply (according to the implies method) a permission created with target
          "foo bar \"foo bar\"
      but the two permissions will not be equal (according to the equals method). It should neither imply nor be equal.

            Assignee:
            Charlie Lai (Inactive)
            Reporter:
            Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: