Actions
Bug #6983
closedURI:HTTP accepts invalid uri
Description
URI.parse will parse 'http:/foo.com' as a valid HTTP uri, even though it's missing a / between the scheme and authority.
Updated by ayumin (Ayumu AIZAWA) over 12 years ago
- Assignee set to akira (akira yamada)
Updated by ayumin (Ayumu AIZAWA) over 12 years ago
- Status changed from Open to Assigned
Updated by naruse (Yui NARUSE) over 11 years ago
- Status changed from Assigned to Rejected
"http:/foo" is valid absolute-URI.
see http://tools.ietf.org/html/rfc3986
absolute-URI = scheme ":" hier-part [ "?" query ]
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
path-absolute = "/" [ segment-nz *( "/" segment ) ]
segment = pchar
segment-nz = 1pchar
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
Actions
Like0
Like0Like0Like0