Cloaking does not work on content of UserForm pages
Opened this issue · 1 comments
Taitava commented
It leaves the email addresses untouched. A dirty fix is to reinforce $Content
with .Cloak
in your template :
$Content.Cloak
However, on other pages than UserForm pages, this will lead to double processing the Content field (unless you set the YAML config variable convert_page_content
to false
). Well, in my short test it didn't seem to do any visible harm (doesn't break the email addresses or links). It's rather a minor performance issue.
I'm leaving this issue open for a real fix for now. It should be fixable without having to touch your template files, as the clocking should be automatic for the Content field :).
Taitava commented
Status: Fixed for SilverStripe 3 now, but still need to apply the same fix for SS 4.