summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2009-12-21 14:33:20 +0000
committerLynx Linden <lynx@lindenlab.com>2009-12-21 14:33:20 +0000
commitd1eb2948f8a65e6f7631d836b2367ebe435e1efa (patch)
tree094d46644086ebad158b4da984c6e76866c0d708 /indra/llui
parente33ebe2b487c3d31933c3d37e0e8c40397d03f07 (diff)
EXT-3558: Don't escape '#' chars for URLs in text.
Added '#' to the list of chars that are not escaped when escaping a URL in a text editor/box. Now, clicking on a link with '#' in text chat will open the URL in your browser with the '#' intact.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llurlentry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index 95dc2ce027..983f0a2d49 100644
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -80,7 +80,7 @@ std::string LLUrlEntryBase::escapeUrl(const std::string &url) const
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789"
- "-._~!$?&()*+,@:;=/%";
+ "-._~!$?&()*+,@:;=/%#";
std::sort(no_escape_chars.begin(), no_escape_chars.end());
initialized = true;