summaryrefslogtreecommitdiff
path: root/httemplate/elements/xmlhttp.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-07-20 13:02:15 -0700
committerIvan Kohler <ivan@freeside.biz>2016-07-20 13:02:15 -0700
commitc22d84e565ab16db142395dce2e8621624eff140 (patch)
tree3670e2bc0bf200910c3af24e5459e8b6966a992b /httemplate/elements/xmlhttp.html
parente9a7ae3aadab31f34c6bacb2376f817ecd4d7d8d (diff)
parentf235a64b4e96e8d613fb3ecdd3acc7f65f9f291d (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements/xmlhttp.html')
-rw-r--r--httemplate/elements/xmlhttp.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/xmlhttp.html b/httemplate/elements/xmlhttp.html
index 2f4f0d555..e70871169 100644
--- a/httemplate/elements/xmlhttp.html
+++ b/httemplate/elements/xmlhttp.html
@@ -44,7 +44,7 @@ my %initialized = ();#won't work if component is "preloaded"... so don't do that
len = args.length - 1;
}
for (var i = 0; i < len; i++)
- content = content + "&arg=" + escape(args[i]);
+ content = content + "&arg=" + encodeURIComponent(args[i]);
content = content.replace( /[+]/g, '%2B'); // fix unescaped plus signs
if ( '<%$method%>' == 'GET' ) {