aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/adm/style/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 28f761bc0b..d5154b2a61 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -87,7 +87,7 @@ phpbb.prepareSendStats = function () {
$.ajax({
url: $this.attr('data-ajax-action').replace('&', '&'),
type: 'POST',
- data: 'systemdata=' + $this.find('input[name=systemdata]').val(),
+ data: 'systemdata=' + encodeURIComponent($this.find('input[name=systemdata]').val()),
success: returnHandler,
error: errorHandler,
cache: false