jdk/test/java/net/URL/abnormal_http_urls
changeset 15571 6cc003462a1e
parent 15570 d97b73add494
parent 15549 78179d93a62f
child 15572 d17eb2e13e36
equal deleted inserted replaced
15570:d97b73add494 15571:6cc003462a1e
     1 URL: http://a/b/c/d;p?q
       
     2 spec: ../../../g
       
     3 expected: http://a/../g
       
     4 
       
     5 URL: http://a/b/c/d;p?q
       
     6 spec: ../../../../g
       
     7 expected: http://a/../../g
       
     8 
       
     9 URL: http://a/b/c/d;p?q
       
    10 spec: /./g
       
    11 expected: http://a/./g
       
    12 
       
    13 URL: http://a/b/c/d;p?q
       
    14 spec: /../g
       
    15 expected: http://a/../g
       
    16 
       
    17 URL: http://a/b/c/d;p?q
       
    18 spec: .g
       
    19 expected: http://a/b/c/.g
       
    20 
       
    21 URL: http://a/b/c/d;p?q
       
    22 spec: g.
       
    23 expected: http://a/b/c/g.
       
    24 
       
    25 URL: http://a/b/c/d;p?q
       
    26 spec: ./../g
       
    27 expected: http://a/b/g
       
    28 
       
    29 URL: http://a/b/c/d;p?q
       
    30 spec: ./g/.
       
    31 expected: http://a/b/c/g/
       
    32 
       
    33 URL: http://a/b/c/d;p?q
       
    34 spec: g/./h
       
    35 expected: http://a/b/c/g/h
       
    36 
       
    37 URL: http://a/b/c/d;p?q
       
    38 spec: g;x=1/./y
       
    39 expected: http://a/b/c/g;x=1/y
       
    40 
       
    41 URL: http://a/b/c/d;p?q
       
    42 spec: g;x=1/../y
       
    43 expected: http://a/b/c/y