23 'http://example.org/foo/baz',
25 'http://example.org/bar',
28 'https://example.org/foo',
30 'https://example.net/',
33 'https://example.org/foo',
35 'https://example.org/foo?a=b',
40 '//example.org/foo?a=b',
44 'https://example.org:81/foo#hey',
46 'https://example.org:81/foo?a=b#c=d',
50 'http://example.org/foo/bar',
52 'http://example.org/foo/bar2',
56 'http://example.org/foo/bar/',
58 'http://example.org/foo/bar/bar2/bar3',
62 'http://example.org/foo/bar/',
63 '../bar2/.././/bar3/',
64 'http://example.org/foo//bar3/',
68 'https://example.org/foo?a=b',
70 'https://example.org/foo?a=b#comments',
74 'https://example.org/foo?a=b',
75 'mailto:foo@example.org',
76 'mailto:foo@example.org',
80 'http://www.example.org',
82 'http://www.example.org/#foo',
86 'http://example.org/path.json',
88 'http://example.org/path.json',
91 'http://www.example.com',
93 'http://www.example.com/',
resolve($basePath, $newPath)
This file contains all the uri handling functions.
testResolve($base, $update, $expected)
resolveData