jdk/test/java/net/URL/abnormal_http_urls
author ohair
Tue, 28 Dec 2010 15:53:50 -0800
changeset 7668 d4a77089c587
parent 2 90ce3da70b43
permissions -rw-r--r--
6962318: Update copyright year Reviewed-by: xdono
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
spec: ../../../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
expected: http://a/../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
spec: ../../../../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
expected: http://a/../../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
spec: /./g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
expected: http://a/./g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
spec: /../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
expected: http://a/../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
spec: .g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
expected: http://a/b/c/.g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
spec: g.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
expected: http://a/b/c/g.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
spec: ./../g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
expected: http://a/b/g
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
spec: ./g/.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
expected: http://a/b/c/g/
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
spec: g/./h
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
expected: http://a/b/c/g/h
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
spec: g;x=1/./y
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
expected: http://a/b/c/g;x=1/y
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
URL: http://a/b/c/d;p?q
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
spec: g;x=1/../y
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
expected: http://a/b/c/y