phpuri icon indicating copy to clipboard operation
phpuri copied to clipboard

RFC 1808 compliance and incorrect tests

Open Firer opened this issue 8 years ago • 1 comments

Hello

It looks like the tests are taken from the RFC, but some of them incorrectly. https://tools.ietf.org/html/rfc1808#section-5.1

For example:

;x should return http://a/b/c/d;x but test.php is looking for result http://a/b/c/;x

This means that phpuri is not resolving some relative URLs correctly. There are also some additional examples in the RFC to test against.

Firer avatar Mar 06 '17 01:03 Firer

See also pseudocode at https://tools.ietf.org/html/rfc3986#section-5.2.2

fulldecent avatar Jul 04 '17 05:07 fulldecent