]> source.dussan.org Git - gitea.git/commit
Prevent multiple `To` recipients (#22566) (#22569)
authorYarden Shoham <hrsi88@gmail.com>
Sun, 22 Jan 2023 17:37:26 +0000 (19:37 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Jan 2023 17:37:26 +0000 (11:37 -0600)
commit6068978c4234c55fff8666e262b72339eb21f031
tree63b7c98542671cd61b34db25c39b605dfb3cfc5e
parentc320caed9700ac5e6a203a4a0dd3dbddb274c36c
Prevent multiple `To` recipients (#22566) (#22569)

Backport #22566

Change the mailer interface to prevent the leaking of possible hidden
email addresses when sending to multiple recipients.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
routers/private/mail.go
services/mailer/mail.go
services/mailer/mail_release.go
services/mailer/mail_repo.go
services/mailer/mail_team_invite.go
services/mailer/mailer.go
services/mailer/mailer_test.go