discourse/app/jobs
Martin Brennan eabe2df8d2
FIX: Drop malformed CC addresses in GroupSmtpEmail job (#14934)
Sometimes, a user may have a malformed email such as
`test@test.com<mailto:test@test.com` their email address,
and as a topic participant will be included as a CC email
when sending a GroupSmtpEmail. This causes the CC parsing to
fail and further down the line in Email::Sender the code
to check the CC addresses expects an array but gets a string
instead because of the parse failure.

Instead, we can just check if the CC addresses are valid
and drop them if they are not in the GroupSmtpEmail job.
2021-11-16 08:15:11 +10:00
..
concerns DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
onceoff DEV: Delete vacate_legacy_prefix_backups code (#14735) 2021-10-28 07:53:21 +10:00
regular FIX: Drop malformed CC addresses in GroupSmtpEmail job (#14934) 2021-11-16 08:15:11 +10:00
scheduled FEATURE: Pull hotlinked images in user bios (#14726) 2021-10-29 17:58:05 +03:00
base.rb Revert "DEV: add routes_lazy_route to boost boot-up time (#14545)" (#14581) 2021-10-12 17:30:38 +03:00