summaryrefslogtreecommitdiff
path: root/t/old-base.t
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2003-07-23 23:45:54 +0000
committerGisle Aas <gisle@aas.no>2003-07-23 23:45:54 +0000
commit1bbce5f479b270d8a678ea06563e3d3f66a5f3a7 (patch)
tree56733567d465c150cfd47f0ae0c3fb235ba83b27 /t/old-base.t
parent340ce7693f39c8fd4e685cfdaf201130d543fade (diff)
downloaduri-1bbce5f479b270d8a678ea06563e3d3f66a5f3a7.tar.gz
rfc2396bis restores the rfc1808 behaviour for absolutising "?y".
See http://www.apache.org/~fielding/uri/rev-2002/issues.html#003-relative-query
Diffstat (limited to 't/old-base.t')
-rw-r--r--t/old-base.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/old-base.t b/t/old-base.t
index 840d22e..77877f2 100644
--- a/t/old-base.t
+++ b/t/old-base.t
@@ -940,9 +940,9 @@ EOM
# Test absolutizing with old behaviour.
['http:foo', 'http://h/a/b', 'http://h/a/foo'],
['http:/foo', 'http://h/a/b', 'http://h/foo'],
- ['http:?foo', 'http://h/a/b', 'http://h/a/?foo'],
+ ['http:?foo', 'http://h/a/b', 'http://h/a/b?foo'],
['http:#foo', 'http://h/a/b', 'http://h/a/b#foo'],
- ['http:?foo#bar','http://h/a/b', 'http://h/a/?foo#bar'],
+ ['http:?foo#bar','http://h/a/b', 'http://h/a/b?foo#bar'],
['file:/foo', 'http://h/a/b', 'file:/foo'],
)