Conceptual
Login

Django Email Rejects CR LF Header Injection with ValueError

A header value containing a carriage return or line feed is refused when the message is built. Django 6.0 deprecates `BadHeaderError`; Python's email API raises `ValueError`, which code handling user-supplied headers should catch.