diff options
Diffstat (limited to 'indra/llcommon/lluri.cpp')
-rw-r--r-- | indra/llcommon/lluri.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index ee14028ec9..fc29e760be 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -94,6 +94,13 @@ namespace { return LLURI::escape(s, unreserved() + ":@!$'()*+,="); } // sub_delims - "&;" + ":@" } +// TODO: USE CURL!! After http textures gets merged everywhere. +// static +std::string LLURI::escape(const std::string& str) +{ + return escape(str,unreserved() + ":@!$'()*+,="); +} + LLURI::LLURI() { } |