Thomas Maeder - 2005-12-08

Logged In: YES
user_id=714202

Another failure is http://host/path1/path2?param=value#fragment :

% uri::split "http://host/path1/path2?param=value#fragment"
fragment fragment port {} path path1/path2?param=value scheme http host host query {}

instead of

fragment fragment port {} path path1/path2 scheme http host host query param=value

The obvious solution would be to use a variation of the regular expression given in Appendix B of http://www.ietf.org/rfc/rfc2396.txt (the variation being directly splitting host and port).