Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to prevent autolinking of displaynames in activation emails by email readers #19169

Merged
merged 3 commits into from
Mar 23, 2022

Commits on Mar 22, 2022

  1. Try to prevent autolinking of displaynames by email readers

    Unfortunately many email readers will (helpfully) detect url or url-like names and
    automatically create links to them, even in HTML emails. This is not ideal when
    usernames can have dots in them.
    
    This PR tries to prevent this behaviour by sticking ZWJ characters between dots and
    also set the meta tag to prevent format detection.
    
    Not every email template has been changed in this way - just the activation emails but
    it may be that we should be setting the above meta tag in all of our emails too.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    2d1ce58 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f9df86 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    7ee50d9 View commit details
    Browse the repository at this point in the history