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
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8240014 | openjdk7u | Sean Mullan | P4 | Resolved | Fixed | master |
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.
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
- backported by
-
JDK-8240014 "\\<>" in attribute value part of X500Principal constructor parameter makes strange effect
-
- Resolved
-
- duplicates
-
JDK-7024767 Some unquoted special character are allowed by X500Principal constructor
-
- Closed
-