diff --git a/gui/ext/vmmngr/vmmngr.conf b/gui/ext/vmmngr/vmmngr.conf index 31aac2d..83827cf 100644 --- a/gui/ext/vmmngr/vmmngr.conf +++ b/gui/ext/vmmngr/vmmngr.conf @@ -1,6 +1,6 @@ { "appname": "VM Manager", - "version": "0.4.0", + "version": "0.4.1", "rootfolder": "/mnt/Daten/extensions/vmmngr", "vm_source": "auto", "bridges": ["ix0bridge"], diff --git a/gui/vmmngr_vm.php b/gui/vmmngr_vm.php index 2d88f2f..067348d 100644 --- a/gui/vmmngr_vm.php +++ b/gui/vmmngr_vm.php @@ -6,6 +6,12 @@ require_once 'vmmngr-boot.inc'; $name = (string)($_GET['name'] ?? ''); +// POSTs from this page carry the VM name in the act field; accept that too so +// a form without the query string can never bounce to the dashboard +if ($name === '' && isset($_POST['act'])) { + $parts = explode(':', (string)$_POST['act'], 2); + $name = $parts[1] ?? ''; +} if ($name === '' || !vmm_valid_name($name)) { header('Location: vmmngr.php'); exit; @@ -77,7 +83,7 @@ vmm_css(); vmm_nav('dashboard'); ?> -
+
diff --git a/version.txt b/version.txt index 1d0ba9e..267577d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.4.0 +0.4.1