You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services
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>
2 years ago
..
agit Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
asymkey Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Update HTTP status codes to modern codes (#18063) 2 years ago
comments format with gofumpt (#18184) 2 years ago
cron Fix the missing i18n key for update checker (#18646) 2 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Add config option to disable "Update branch by rebase" (#18745) 2 years ago
gitdiff rm .sample hooks which aren't used (#19101) 2 years ago
issue Allow users to self-request a PR review (#19030) 2 years ago
lfs Update HTTP status codes to modern codes (#18063) 2 years ago
mailer Try to prevent autolinking of displaynames by email readers (#19169) 2 years ago
migrations Update HTTP status codes to modern codes (#18063) 2 years ago
mirror Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
release Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
repository Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
task Pause queues (#15928) 2 years ago
user Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
webhook Add packagist webhook (#18224) 2 years ago
wiki Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago