mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed quotes in title.
This commit is contained in:
parent
672235e0a3
commit
483efb88fc
72 changed files with 7 additions and 77 deletions
|
@ -5997,7 +5997,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
xargs.title1 = domain.title1 ? domain.title1 : '';
|
||||
xargs.title2 = (domain.title1 && domain.title2) ? domain.title2 : '';
|
||||
}
|
||||
xargs.extitle = encodeURIComponent(xargs.title);
|
||||
xargs.extitle = encodeURIComponent(xargs.title).split('\'').join('\\\'');
|
||||
xargs.domainurl = domain.url;
|
||||
if (typeof domain.hide == 'number') { xargs.hide = domain.hide; }
|
||||
return xargs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue