1
0
Fork 0
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:
Ylian Saint-Hilaire 2020-09-08 12:24:07 -07:00
parent 672235e0a3
commit 483efb88fc
72 changed files with 7 additions and 77 deletions

View file

@ -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;