Skip to content
Snippets Groups Projects
Commit 735da0eb authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-20422 Unit test fix

parent b7ad7cca
No related branches found
No related tags found
No related merge requests found
......@@ -112,12 +112,11 @@ LLSLURL::LLSLURL(const std::string& slurl)
// and the slurl type (APP or LOCATION)
if (slurl_uri.scheme() == LLSLURL::SLURL_SECONDLIFE_SCHEME)
{
if (path_array.size() == 0)
if (path_array.size() == 0
&& slurl_uri.authority().empty()
&& slurl_uri.escapedQuery().empty())
{
if (slurl_uri.authority().empty() && slurl_uri.escapedQuery().empty())
{
mType = EMPTY;
}
mType = EMPTY;
// um, we need a path...
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment