#27469: Email crashes cryptically when emptystring passed to
django.core.mail.message.sanitize_address
-------------------------------------+-------------------------------------
     Reporter:  Jarek Glowacki       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Mail)          |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  sanitize_address     |             Triage Stage:
  mail                               |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Jarek Glowacki):

 I'd be happy with any of:
 `InvalidEmailException`
 `EmptyEmailException`
 `InvalidEmailAddressException`
 `EmptyEmailAddressException`

 Or maybe even silencing the exception and having something else in the
 food chain worry about it.

 I don't know much about the Mail component of Django, so best for someone
 else to make that call, so that it's consistent with the way other kinds
 of invalid emails behave.

--
Ticket URL: <https://code.djangoproject.com/ticket/27469#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.365f9f487df25674ed15736105e6a00e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to