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.
meow-7.2.2
Lynx Linden 2009-12-21 14:33:20 +00:00
parent e33ebe2b48
commit d1eb2948f8
1 changed files with 1 additions and 1 deletions

View File

@ -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;