Browse Source

publish muk_web_preview_mail - 11.0

pull/64/head
MuK IT GmbH 6 years ago
parent
commit
2cff278a9b
  1. 2
      muk_web_preview_mail/__manifest__.py
  2. 2
      muk_web_preview_mail/controllers/main.py

2
muk_web_preview_mail/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Preview Mail",
"summary": """Mail Preview""",
"version": "11.0.2.0.2",
"version": "11.0.2.0.3",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

2
muk_web_preview_mail/controllers/main.py

@ -47,7 +47,7 @@ class MailParserController(http.Controller):
return werkzeug.exceptions.UnsupportedMediaType(
_("Unparsable message! The file has to be of type: message/rfc822"))
else:
message = request.env['mail.thread'].message_parse(content, False)
message = request.env['mail.thread'].message_parse(content.encode("latin-1"), False)
return self._make_parse_response(request.httprequest.url, message, attachment)
def _set_query_parameter(self, url, param_name, param_value):

Loading…
Cancel
Save