New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
email generator can give bad output #39506
Comments
#!/usr/bin/env python
#Feedback to crunch@shopip.com
#Python 2.3.2 under OpenBSD 3.4 i386
import email print r""" #s1 is MIME missing terminating line;
#s2 is a proper MIME message.
s1="""Received: by spameater (127.0.0.1)...
From: "Victor Virus" <security@microsoft.com>
To: <poorsap@host.net>
Subject: Unterminated MIME to corrupt your mbox!
MIME-Version: 1.0
Content-Type: multipart/mixed;boundary="xxxx" --xxxx This is an unterminated MIME, like many viruses --xxxx """ |
Logged In: YES This really isn't a bug in the email package, since it's If you want to use the output of the Generator to create a |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: