encodeURIComponent on api_key

This commit is contained in:
LASSALLE Nicolas
2015-03-05 17:55:55 +01:00
committed by Mohsen Azimi
parent 3f7714ec84
commit 19352cb3ff

View File

@@ -56,7 +56,7 @@
});
function addApiKeyAuthorization() {
var key = $('#input_apiKey')[0].value;
var key = encodeURIComponent($('#input_apiKey')[0].value);
log("key: " + key);
if(key && key.trim() != "") {
log("added key " + key);