Change boundary

This version contains a sequence that is illegal in quoted-printable
and thus safe from accidentally appearing in a website.
This commit is contained in:
Daniel 2015-09-23 16:25:21 +02:00
parent 8eafa1a105
commit 05cc4b9650

View File

@ -130,7 +130,7 @@ class MHTMLWriter(object):
_files: Mapping of location->_File struct.
"""
BOUNDARY = b"---qute-mhtml-" + str(uuid4()).encode("ascii")
BOUNDARY = b"---=_qute-" + str(uuid4()).encode("ascii")
def __init__(self, root_content=None, content_location=None,
content_type=None):