mirror of
https://github.com/unraid/webgui.git
synced 2026-04-21 01:08:42 -05:00
Fixed: encode container names in update all command
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user