mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
GitHub Security fixes.
This commit is contained in:
parent
af6fde0bef
commit
43b78d210e
8 changed files with 910 additions and 889 deletions
|
@ -33,7 +33,8 @@ module.exports.ParseWsman = function (xml) {
|
|||
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;
|
||||
r.Body = _ParseWsmanRec(body.childNodes[0]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue