URI.parse should raise an error for invalid uri 'http:/'
I've added a test to cover this, or you can use the following workaround.
#4 Updated by Yusuke Endoh about 2 years ago
- Subject changed from URI.parse should raise an error for invalid uri 'http:/' to URI.parse should raise an error for invalid uri 'http:/'
- Target version changed from 2.0.0 to 2.1.0
The URI maintainer, akira, is inactive for a long time.
I think that he should be discharged.
Yusuke Endoh email@example.com
#5 Updated by Yui NARUSE over 1 year ago
- Status changed from Assigned to Rejected
"http:/foo" is valid absolute-URI.
absolute-URI = scheme ":" hier-part [ "?" query ]
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
hier-part = "//" authority path-abempty
path-absolute = "/" [ segment-nz *( "/" segment ) ]
segment = pchar
segment-nz = 1pchar
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"