Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7024771

"\\<>" in attribute value part of X500Principal constructor parameter makes strange effect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 8
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Backports

        Description

        Accordingly with BNF in RFC and RFC 2253 and X500Principal constructor javadoc IAE must be thrown in following call:

        new X500Principal("CN=prefix\\<>suffix")

        It is not thrown and surprisingly following getName() call on created instance returns "CN=prefix\\<". So all characters after "\\<>" are dropped.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                sreznick Sergey Reznick (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: