From 77d86709d5b03caccd8a28fbab7bf752d4bc3243 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Oct 2014 10:54:01 +0200 Subject: Document how rtl::Uri::convertRelToAbs normalizes an absolute URL's path Change-Id: Ibf4f2d46bfbb977f0ba27110d86d7b7f1173631c --- sal/qa/rtl/uri/rtl_testuri.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit