summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-08 10:54:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-08 10:54:01 +0200
commit77d86709d5b03caccd8a28fbab7bf752d4bc3243 (patch)
treefd6df304ea8ae6574601297097d50dd2f4e7a532 /sal
parentf9f9aa9873c5851da86d33ca75e937ac022206a3 (diff)
Document how rtl::Uri::convertRelToAbs normalizes an absolute URL's path
Change-Id: Ibf4f2d46bfbb977f0ba27110d86d7b7f1173631c
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/uri/rtl_testuri.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx
index 3769062a1316..d798a856ddc8 100644
--- a/sal/qa/rtl/uri/rtl_testuri.cxx
+++ b/sal/qa/rtl/uri/rtl_testuri.cxx
@@ -331,7 +331,8 @@ void Test::test_Uri() {
{ "http://a/b/../", "../c", "http://a/c" },
{ "http://a/b/..", "../c", "http://a/c" },
{ "http://a/./b/", ".././.././../c", "http://a/c" },
- { "http://a", "b", "http://a/b" } };
+ { "http://a", "b", "http://a/b" },
+ { "", "http://a/b/../c", "http://a/c" } };
for (std::size_t i = 0; i < sizeof aRelToAbsTest / sizeof (RelToAbsTest); ++i)
{
rtl::OUString aAbs;