summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-10-10 18:08:05 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-10-10 18:08:05 +0300
commita1f983f63cfb9737cc2f182fe6fc6deff9b1ee75 (patch)
tree7753bf23193055c2411423c8a483401495499477 /indra
parent172dc08a0fa961c4fb0fc88d31d067c1dd716fcf (diff)
MAINT-4567 FIXED <nolink> is not parsed correctly in viewer-lion
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/lluriparser.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/lluriparser.cpp b/indra/llcommon/lluriparser.cpp
index ef4481d32f..0fb004ef7e 100644
--- a/indra/llcommon/lluriparser.cpp
+++ b/indra/llcommon/lluriparser.cpp
@@ -175,11 +175,18 @@ S32 LLUriParser::normalize()
if (!mRes)
{
mNormalizedUri = &label_buf[mTmpScheme ? 7 : 0];
+ mTmpScheme = false;
}
}
}
}
+ if(mTmpScheme)
+ {
+ mNormalizedUri = mNormalizedUri.substr(7);
+ mTmpScheme = false;
+ }
+
return mRes;
}