Fixed arguments with & in it.

Ylian Saint-Hilaire committed Apr 22, 2019 at 16:26 UTC ab9ea4e58af9dd1e9b193fe5f70d891b9769be6c
3 files changed +7 -3
meshcentral.js
+1 -1
@@ -155,7 +155,7 @@ function CreateMeshCentralServer(config, args) {
155 var arg = process.argv[i];
156 if (arg.length > 0) {
157 if (startLine.length > 0) startLine += ' ';
158 - if (arg.indexOf(' ') >= 0) { startLine += '"' + arg + '"'; } else { startLine += arg; }
158 + if ((arg.indexOf(' ') >= 0) || (arg.indexOf('&') >= 0)) { startLine += '"' + arg + '"'; } else { startLine += arg; }
159 }
160 }
161 obj.launchChildServer(startLine);
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.3.2-t",
3 + "version": "0.3.2-u",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",
public/styles/style.css
+5 -1
@@ -2075,11 +2075,15 @@ a {
2075
2076 #p14iframe {
2077 width: 100%;
2078 - height: calc(100vh - 232px);
2078 + height: calc(100vh - 218px);
2079 border: 0;
2080 overflow: hidden;
2081 }
2082
2083 +.menu_stack #p14iframe {
2084 + height: calc(100vh - 246px);
2085 +}
2086 +
2087 .fulldesk #p14iframe {
2088 height: calc(100vh - 65px);
2089 }