aboutsummaryrefslogtreecommitdiff
path: root/client/js/util/uri.js
diff options
context:
space:
mode:
authorrr-2017-01-21 00:12:28 +0100
committerrr-2017-01-21 00:22:53 +0100
commit6b42d787a7a591a882792d370622c81202531e26 (patch)
tree32aea3fe79c7b840f04af14f20c18493a7d69157 /client/js/util/uri.js
parent1acceb941d84775cdeb0019bdfbdd63e9e125982 (diff)
server: fix problems with escaping
Diffstat (limited to 'client/js/util/uri.js')
-rw-r--r--client/js/util/uri.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/util/uri.js b/client/js/util/uri.js
index 52e90a0..a048228 100644
--- a/client/js/util/uri.js
+++ b/client/js/util/uri.js
@@ -24,11 +24,11 @@ function formatApiLink(...values) {
}
function escapeParam(text) {
- return encodeURIComponent(text).replace(/%/g, '$');
+ return encodeURIComponent(text);
}
function unescapeParam(text) {
- return decodeURIComponent(text.replace(/\$/g, '%'));
+ return decodeURIComponent(text);
}
function formatClientLink(...values) {

© 2015 - 2026 Jakob L. Kreuze