Fixed: encode container names in update all command

This commit is contained in:
bergware
2018-04-15 12:57:49 +02:00
parent 41e18aa2b5
commit aee84ce4ce
@@ -168,7 +168,7 @@ function updateAll() {
$('input[type=button]').prop('disabled',true);
$('div.spinner').show('slow');
var list = '';
for (var i=0,ct; ct=docker[i]; i++) if (ct.update=='false') list += '&ct[]='+ct.name;
for (var i=0,ct; ct=docker[i]; i++) if (ct.update=='false') list += '&ct[]='+encodeURI(ct.name);
var address = '/plugins/dynamix.docker.manager/include/CreateDocker.php?updateContainer=true'+list;
popupWithIframe('Updating all Containers', address, true, 'loadlist');
}