Fixed arguments with & in it.

This commit is contained in:
Ylian Saint-Hilaire 2019-04-22 16:26:33 -07:00
parent 61d48b5c74
commit 6a061b0d46
3 changed files with 7 additions and 3 deletions

View File

@ -155,7 +155,7 @@ function CreateMeshCentralServer(config, args) {
var arg = process.argv[i]; var arg = process.argv[i];
if (arg.length > 0) { if (arg.length > 0) {
if (startLine.length > 0) startLine += ' '; if (startLine.length > 0) startLine += ' ';
if (arg.indexOf(' ') >= 0) { startLine += '"' + arg + '"'; } else { startLine += arg; } if ((arg.indexOf(' ') >= 0) || (arg.indexOf('&') >= 0)) { startLine += '"' + arg + '"'; } else { startLine += arg; }
} }
} }
obj.launchChildServer(startLine); obj.launchChildServer(startLine);

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.3.2-t", "version": "0.3.2-u",
"keywords": [ "keywords": [
"Remote Management", "Remote Management",
"Intel AMT", "Intel AMT",

View File

@ -2075,11 +2075,15 @@ a {
#p14iframe { #p14iframe {
width: 100%; width: 100%;
height: calc(100vh - 232px); height: calc(100vh - 218px);
border: 0; border: 0;
overflow: hidden; overflow: hidden;
} }
.menu_stack #p14iframe {
height: calc(100vh - 246px);
}
.fulldesk #p14iframe { .fulldesk #p14iframe {
height: calc(100vh - 65px); height: calc(100vh - 65px);
} }