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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 6
    • security-libs
    • None
    • b04
    • x86
    • linux
    • Verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: