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.
gitea/services
zeripath bb0e2121a3
Try to prevent autolinking of displaynames by email readers (#19169) (#19183)
Backport #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>
3 years ago
..
agit Fix various typos (#18219) 3 years ago
asymkey Refactor auth package (#17962) 3 years ago
attachment Simplify parameter types (#18006) 3 years ago
auth Fix login with email panic when email is not exist (#18942) 3 years ago
comments Move repository model into models/repo (#17933) 3 years ago
cron Some repository refactors (#17950) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Support webauthn (#17957) 3 years ago
gitdiff Bump to build with go1.18 (#19120 et al) (#19127) 3 years ago
issue Restore propagation of ErrDependenciesLeft (#18325) 3 years ago
lfs Support webauthn (#17957) 3 years ago
mailer Try to prevent autolinking of displaynames by email readers (#19169) (#19183) 3 years ago
migrations Make migrations SKIP_TLS_VERIFY apply to git too (#19132) (#19141) 3 years ago
mirror Refactor mirror code & fix `StartToMirror` (#18904) (#19075) 3 years ago
org Move repository model into models/repo (#17933) 3 years ago
pull Detect conflicts with 3way merge (#18536) (#18537) 3 years ago
release Set HeadCommit when creating tags. (#18116) 3 years ago
repository Use IterateBufferSize whilst querying repositories during adoption check (#19140) (#19160) 3 years ago
task Some repository refactors (#17950) 3 years ago
user Move keys to models/asymkey (#17917) 3 years ago
webhook Add replay of webhooks. (#18191) 3 years ago
wiki Fix various typos (#18219) 3 years ago