mirror of
https://github.com/discourse/discourse.git
synced 2025-03-10 06:05:40 +08:00

This commit makes sure that the email log's bounce_error_code conforms to the SMTP error code RFC on save, so that it is always in the format X.X.X or XXX without any additional string details. Also included is a migration to fix this issue for past records.