Module for ProcessWire CMS
Copyright (c) 2026 Commonwealth of Australia
This module will format a textfield on output, replacing any Microsoft Protected Links with their original URL, preventing unintentional leaking of internal email addresses and other data.
If you instead would prefer to hook the page save and permenently update any protected links then you can use our companion module FormatMicrosoftProtectedLinks.
- PHP 7.3+
- Processwire 3.X
This module is installed just like any other ProcessWire module: copy or clone the directory containing this module to your /site/modules/ directory, log in, go to Admin > Modules, click "Check for new modules", and install "Replace Outlook Protected Links" from the TextFormatter category.
After installing this module, enable the 'Replace Outlook Protected Links' TextFormatter on any text/textarea fields required under the 'details' tab.