encodeURIComponent on api_key

This commit is contained in:
LASSALLE Nicolas
2015-03-06 11:10:17 -08:00
committed by Mohsen Azimi
parent 3f7714ec84
commit 19352cb3ff
+1 -1
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);