Fixes #430: MD5 hashing should be done to the real body, not an escaped one

This commit is contained in:
Andy Raines 2015-10-05 14:14:56 +01:00
parent f72613cc47
commit 76bce7954a

View File

@ -34,7 +34,7 @@ class Message(object):
@property
def md5(self):
body_md5 = hashlib.md5()
body_md5.update(self.body.encode('utf-8'))
body_md5.update(self._body.encode('utf-8'))
return body_md5.hexdigest()
@property