summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/common.js')
-rw-r--r--js/common.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/common.js b/js/common.js
index 4e7d3fe..4af7cd0 100644
--- a/js/common.js
+++ b/js/common.js
@@ -53,6 +53,7 @@ function CreateCORSRequest(method, url)
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
xhr.open(method, url, true);
+ xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded; charset=UTF-8');
} else {
xhr = null;
}