sal/qa/rtl/uri/rtl_testuri.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 89cc8445f7f76b55e209b8c0c5407b0e592b1117 Author: Stephan Bergmann <[email protected]> Date: Mon Jul 6 16:57:03 2015 +0200 Clarify treatment of double slashes in rtl::Uri::convertRelToAbs Change-Id: I71d0ded04b35472f14e4764a47212c73ac500814 diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx index e92afe5..191bf5d 100644 --- a/sal/qa/rtl/uri/rtl_testuri.cxx +++ b/sal/qa/rtl/uri/rtl_testuri.cxx @@ -330,7 +330,11 @@ void Test::test_Uri() { { "http://a/b/..", "../c", "http://a/c" }, { "http://a/./b/", ".././.././../c", "http://a/c" }, { "http://a", "b", "http://a/b" }, - { "", "http://a/b/../c", "http://a/c" } }; + { "", "http://a/b/../c", "http://a/c" }, + + { "http://a/b/c", "d", "http://a/b/d" }, + { "http://a/b/c/", "d", "http://a/b/c/d" }, + { "http://a/b/c//", "d", "http://a/b/c//d" } }; for (std::size_t i = 0; i < sizeof aRelToAbsTest / sizeof (RelToAbsTest); ++i) { rtl::OUString aAbs; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
