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
parent
e33ebe2b48
commit
d1eb2948f8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue