jdk/test/java/net/URL/abnormal_http_urls
author amurillo
Wed, 15 Aug 2012 16:49:38 -0700
changeset 13465 d3fc5d192448
parent 2 90ce3da70b43
permissions -rw-r--r--
7191765: make jdk8 the default jprt release for hs24 Reviewed-by: jcoomes

URL: http://a/b/c/d;p?q
spec: ../../../g
expected: http://a/../g

URL: http://a/b/c/d;p?q
spec: ../../../../g
expected: http://a/../../g

URL: http://a/b/c/d;p?q
spec: /./g
expected: http://a/./g

URL: http://a/b/c/d;p?q
spec: /../g
expected: http://a/../g

URL: http://a/b/c/d;p?q
spec: .g
expected: http://a/b/c/.g

URL: http://a/b/c/d;p?q
spec: g.
expected: http://a/b/c/g.

URL: http://a/b/c/d;p?q
spec: ./../g
expected: http://a/b/g

URL: http://a/b/c/d;p?q
spec: ./g/.
expected: http://a/b/c/g/

URL: http://a/b/c/d;p?q
spec: g/./h
expected: http://a/b/c/g/h

URL: http://a/b/c/d;p?q
spec: g;x=1/./y
expected: http://a/b/c/g;x=1/y

URL: http://a/b/c/d;p?q
spec: g;x=1/../y
expected: http://a/b/c/y