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:
parent
8eafa1a105
commit
05cc4b9650
@ -130,7 +130,7 @@ class MHTMLWriter(object):
|
|||||||
_files: Mapping of location->_File struct.
|
_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,
|
def __init__(self, root_content=None, content_location=None,
|
||||||
content_type=None):
|
content_type=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user