diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index 612fe5612..1693c8727 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -26,7 +26,7 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di // success h += `
`; h += ``; - h += `

${i18n('dir_published_as_website', `${target_dir_name}`, false)}

`; + h += `

${i18n('dir_published_as_website', `${html_encode(target_dir_name)}`, false)}

`; h += `

`; h += ``; h+= `
`; @@ -37,10 +37,10 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di // subdomain h += `
`; h += ``; - h += `
https://.${window.hosting_domain}
`; + h += `
https://.${html_encode(window.hosting_domain)}
`; h += `
`; // uid - h += ``; + h += ``; // Publish h += `` h += ``;