diff --git a/templates/jsglue/js_bridge.js b/templates/jsglue/js_bridge.js index 9d48075..7f080a4 100644 --- a/templates/jsglue/js_bridge.js +++ b/templates/jsglue/js_bridge.js @@ -80,7 +80,7 @@ var {{ namespace }} = new(function () { if (is_absolute) { return scheme + "://" + location.host + url; } else { - return url; + return encodeURI(url); } } }