From d1eb2948f8a65e6f7631d836b2367ebe435e1efa Mon Sep 17 00:00:00 2001 From: Lynx Linden Date: Mon, 21 Dec 2009 14:33:20 +0000 Subject: 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. --- indra/llui/llurlentry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llui') 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; -- cgit v1.2.3