gitea/services/mailer
zeripath 5248232c44
Try to prevent autolinking of displaynames by email readers (#19169)
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>
2022-03-23 12:34:20 +00:00
..
mail.go Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
mail_comment.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
mail_issue.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
mail_release.go Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
mail_repo.go Try to prevent autolinking of displaynames by email readers (#19169) 2022-03-23 12:34:20 +00:00
mail_test.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
mailer.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
mailer_test.go refactoring nits (#18188) 2022-01-05 07:27:53 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00