Refractoring Stage 6.24 Moved the HTML sanitizer and remote-image policy API into window.epMailFeatures.contentSecurity, removing the separate window.epMailMailContentSecurity global. Bumped to 0.4.36 (Android version code 436) and updated REFACTOR_PLAN.md.

This commit is contained in:
2026-10-16 23:14:31 +03:00
parent bc550cc929
commit cfb6ddc2bb
8 changed files with 22 additions and 8 deletions
+2 -1
View File
@@ -3,7 +3,8 @@
module.exports = { createMailContentSecurity };
return;
}
Object.defineProperty(root, 'epMailMailContentSecurity', {
root.epMailFeatures = root.epMailFeatures || {};
Object.defineProperty(root.epMailFeatures, 'contentSecurity', {
value: createMailContentSecurity(root),
enumerable: false
});