-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b67
-
generic
-
generic
Description of URI.parseServerAuthority contains phrase:
" This method is provided because the generic URI syntax specified in RFC 3986 cannot always distinguish a malformed server-based authority from a legitimate registry-based authority. It must therefore treat some instances of the former as instances of the latter. The authority component in the URI string "//foo:bar", for example, is not a legal server-based authority but it is legal as a registry-based authority."
Example above is wrong. Host name can't contain ':' symbol. (Now ':' is a memeber of 'gen-delims').
It seems that a malformed server-based authority can't be a valid registry-based authority now.
(RFC 3986 page 55: Registry-based naming authorities that use the generic syntax are now defined within the host rule.) => valid reg-based IS valid host IS valid server-based
" This method is provided because the generic URI syntax specified in RFC 3986 cannot always distinguish a malformed server-based authority from a legitimate registry-based authority. It must therefore treat some instances of the former as instances of the latter. The authority component in the URI string "//foo:bar", for example, is not a legal server-based authority but it is legal as a registry-based authority."
Example above is wrong. Host name can't contain ':' symbol. (Now ':' is a memeber of 'gen-delims').
It seems that a malformed server-based authority can't be a valid registry-based authority now.
(RFC 3986 page 55: Registry-based naming authorities that use the generic syntax are now defined within the host rule.) => valid reg-based IS valid host IS valid server-based
- duplicates
-
JDK-6363883 java.net.URI(String) has to parse authority (and has to throw exception if fails)
- Closed
- relates to
-
JDK-6394131 Rollback URI class to Tiger version
- Resolved
-
JDK-6350321 java.net.URI: the 'path' component should be present in opaque URIs
- Resolved
-
JDK-6380332 SunTea applet fails to load under Mustang
- Resolved