#224 Sending confirmation email fails if user display name contains "@"

Otwarty
otworzone 3 lat temu przez clacke · 0 komentarzy
clacke skomentował 3 lat temu

To reproduce:

  • Set user display name to a name including a @.
  • Request e-mail confirmation.

Expected behavior:

  • Email gets sent.

Actual behavior:

  • Failed to send data [SMTP: Invalid response code received from server (code: 550, response: header syntax)]

Solution: If display name contains a non-atext character according to RFC 2822, it needs to be sent as a qtext according to RFC 2822.

To reproduce: - Set user display name to a name including a `@`. - Request e-mail confirmation. Expected behavior: - Email gets sent. Actual behavior: - `Failed to send data [SMTP: Invalid response code received from server (code: 550, response: header syntax)]` Solution: If display name contains a non-`atext` character according to RFC 2822, it needs to be sent as a `qtext` according to RFC 2822.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisania
1 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.