aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/location.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/location.js')
-rw-r--r--src/service/location.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/location.js b/src/service/location.js
index 9a1afc37..644b4aaa 100644
--- a/src/service/location.js
+++ b/src/service/location.js
@@ -331,7 +331,7 @@ LocationUrl.prototype = LocationHashbangUrl.prototype = {
if (paramValue === null) {
delete this.$$search[search];
} else {
- this.$$search[search] = escape(paramValue);
+ this.$$search[search] = encodeUriQuery(paramValue);
}
} else {
this.$$search = isString(search) ? parseKeyValue(search) : search;