You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have an email header value of text/html; charset=utf-8; CHARSET=UTF-8 (in an email from Air Canada, if you were wondering), similar to the text/html; charset=utf-8; charset=UTF-8 reported here.
I think lowercasing the ctype value in mediatype.Parse before passing into mime.ParseMediaType would fix this case with the the intended behavior.
The text was updated successfully, but these errors were encountered:
I currently have an email header value of
text/html; charset=utf-8; CHARSET=UTF-8
(in an email from Air Canada, if you were wondering), similar to thetext/html; charset=utf-8; charset=UTF-8
reported here.I think lowercasing the
ctype
value inmediatype.Parse
before passing intomime.ParseMediaType
would fix this case with the the intended behavior.The text was updated successfully, but these errors were encountered: