summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/uriproc/test_uriproc.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx
index 7b30dd84375f..dbf095a3bd04 100644
--- a/stoc/test/uriproc/test_uriproc.cxx
+++ b/stoc/test/uriproc/test_uriproc.cxx
@@ -300,6 +300,8 @@ void Test::testMakeAbsolute() {
css::uri::RelativeUriExcessParentSegments_ERROR, "http://a/b/c/g" },
{ "http://a/b/c/d;p?q", "g/", true,
css::uri::RelativeUriExcessParentSegments_ERROR, "http://a/b/c/g/" },
+ { "http://a/b/c/d;p?q", "/g", true,
+ css::uri::RelativeUriExcessParentSegments_ERROR, "http://a/g" },
{ "http://a/b/c/d;p?q", "//g", true,
css::uri::RelativeUriExcessParentSegments_ERROR, "http://g" },
{ "http://a/b/c/d;p?q", "?y", true,
@@ -396,8 +398,8 @@ void Test::testMakeAbsolute() {
{ "http://a/b/c/d;p?q", "g#s/../x", true,
css::uri::RelativeUriExcessParentSegments_ERROR,
"http://a/b/c/g#s/../x" },
- { "http.://a/b/c/d;p?q", "http.:g", true,
- css::uri::RelativeUriExcessParentSegments_ERROR, "http.:g" },
+ { "http://a/b/c/d;p?q", "http:g", true,
+ css::uri::RelativeUriExcessParentSegments_ERROR, "http:g" },
{ "scheme://a", "", true,
css::uri::RelativeUriExcessParentSegments_ERROR, "scheme://a" },