mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed bad minified meshcore modules, added session player and session recording fixes
This commit is contained in:
parent
d3e33ba69c
commit
28fd7c4907
16 changed files with 470 additions and 24 deletions
|
@ -126,6 +126,7 @@ module.exports.ComputeDigesthash = function (username, password, realm, method,
|
|||
module.exports.toNumber = function (str) { var x = parseInt(str); if (x == str) return x; return str; };
|
||||
module.exports.escapeHtml = function (string) { return String(string).replace(/[&<>"'`=\/]/g, function (s) { return { '&': '&', '<': '<', '>': '>', '"': '"', "'": ''', '/': '/', '`': '`', '=': '=' }[s]; }); };
|
||||
module.exports.escapeHtmlBreaks = function (string) { return String(string).replace(/[&<>"'`=\/]/g, function (s) { return { '&': '&', '<': '<', '>': '>', '"': '"', "'": ''', '/': '/', '`': '`', '=': '=', '\r': '<br />', '\n': '' }[s]; }); };
|
||||
module.exports.zeroPad = function(num, c) { if (c == null) { c = 2; } var s = "000000" + num; return s.substr(s.length - c); }
|
||||
|
||||
// Lowercase all the names in a object recursively
|
||||
// Allow for exception keys, child of exceptions will not get lower-cased.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue