mirror of
https://github.com/Ylianst/MeshCommander
synced 2025-12-06 06:03:20 +00:00
Window open security fix.
This commit is contained in:
@@ -124,7 +124,8 @@ var WsmanStackCreateService = function (host, port, user, pass, tls, extra) {
|
||||
if (!body) return null;
|
||||
if (body.childNodes.length > 0) {
|
||||
t = body.childNodes[0].localName;
|
||||
if (t.indexOf('_OUTPUT') == t.length - 7) { t = t.substring(0, t.length - 7); }
|
||||
var x = t.indexOf('_OUTPUT');
|
||||
if ((x != -1) && (x == (t.length - 7))) { t = t.substring(0, t.length - 7); }
|
||||
r.Header['Method'] = t;
|
||||
try {
|
||||
r.Body = _ParseWsmanRec(body.childNodes[0]);
|
||||
|
||||
Reference in New Issue
Block a user