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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user