This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-2c9b3ab6-1cdb-4f5c-93a2-cb257c756c20 XWIKI-24085 Open

Add option to obfuscate email addresses domain

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ad22757b-5984-454e-b383-8f450c5418e4 Florian Véron created this issue on 05/Mar/26 15:41
 
Summary: Add option to obfuscate email addresses domain
Issue Type: cid:jira-generated-image-avatar-2c9b3ab6-1cdb-4f5c-93a2-cb257c756c20 Improvement
Affects Versions: 17.10.4
Assignee: Unassigned
Components: Mail
Created: 05/Mar/26 15:41
Priority: cid:jira-generated-image-static-major-956969fc-3b5d-4cb4-8905-51104dfa4dfa Major
Reporter: Florian Véron
Description:

The email obfuscator are currently hiding only the local part of the email address.
There must be an option to obfuscation the domain of the email or the full email string.

It's currently done by using a regex in DefaultEmailAddressObfuscator :

return emailAddress.toString().replaceAll("^(.).*@", "$1...@"); 

Proposals :
1. Add domain obfuscation option in administration (Global Administration → Mail → Advanced)
2. Add key in xwiki.properties to define a custom regex for email obfuscation.

 

 
 

1 update

 
cid:jira-generated-image-avatar-ad22757b-5984-454e-b383-8f450c5418e4 Changes by Florian Véron on 05/Mar/26 15:44
 
Version: 16.10.12