1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-14 07:13:37 +00:00

1. Fixed compiler warnings for PAC related code

2. Updated clipboard helper, to fix compiler warning in generated code
3. Updated message-box to sanitize input values to prevent possible exploit
This commit is contained in:
Bryan Roe
2022-01-03 19:22:14 -08:00
parent 3a10fa34d2
commit 20312bf5d6
4 changed files with 7 additions and 7 deletions

View File

@@ -179,7 +179,6 @@ function messageBox()
}
}
function linux_messageBox()
{
this._ObjectID = 'message-box';
@@ -375,7 +374,7 @@ function linux_messageBox()
return (ret);
}
// GNOME/ZENITY
ret._options = { title: title.trim(), caption: caption.trim(), timeout: timeout, layout: layout, zenity: this.zenity };
ret._options = { title: title.trim().split('').join('\\'), caption: caption.trim().split('').join('\\'), timeout: timeout, layout: layout, zenity: this.zenity };
var parms = ['zenity'];
if (Array.isArray(layout))
{