Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24085

Add option to obfuscate email addresses domain

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.12, 17.10.4
    • Mail
    • None
    • Unknown

    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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            fveron Florian Véron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: