Kaydet (Commit) 89cc8445 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clarify treatment of double slashes in rtl::Uri::convertRelToAbs

Change-Id: I71d0ded04b35472f14e4764a47212c73ac500814
üst dd69bde3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment