summaryrefslogtreecommitdiff
path: root/indra/llcommon/lluri.h
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-04-11 20:29:50 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-04-11 20:29:50 +0300
commite4a244a6cb1837d1748381e4552b5199a5782150 (patch)
tree1e16c93c3099e0c8a2e814a4c9be050c7c4a28d5 /indra/llcommon/lluri.h
parent9194a97e9460fcd3836c8e20399d50a37d4f1807 (diff)
SL-10924 Fix data escaping to accomodate CEF update
Diffstat (limited to 'indra/llcommon/lluri.h')
-rw-r--r--indra/llcommon/lluri.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/lluri.h b/indra/llcommon/lluri.h
index 9e44cc7da2..b8fca0ca51 100644
--- a/indra/llcommon/lluri.h
+++ b/indra/llcommon/lluri.h
@@ -158,6 +158,14 @@ public:
bool is_allowed_sorted = false);
/**
+ * @brief Break string into data part and path or sheme
+ * and escape path (if present) and data.
+ * Data part is not allowed to have path related symbols
+ * @param str The raw URI to escape.
+ */
+ static std::string escapePathAndData(const std::string &str);
+
+ /**
* @brief unescape an escaped URI string.
*
* @param str The escped URI to unescape.