Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] mime: forgot to decode B-encoding and no-encoding

  • Loading branch information...
commit 85ed856dcb2fd8dcf74143ec28ae174378e41929 1 parent 9201e63
@Aqua-Ye Aqua-Ye authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 stdlib/web/mail/mime.opa
View
4 stdlib/web/mail/mime.opa
@@ -137,8 +137,8 @@ Mime = {{
| ew=encoded_word ->
match string_to_encoding(ew.encoding)
| {some={Q_encoding}} -> decoder(ew.charset, Q.decode(ew.encoded_text))
- | {some={B_encoding}} -> Crypto.Base64.decode(ew.encoded_text)
- | {none} -> ew.encoded_text
+ | {some={B_encoding}} -> decoder(ew.charset, Crypto.Base64.decode(ew.encoded_text))
+ | {none} -> decoder(ew.charset, ew.encoded_text)
end
| c=. -> Cactutf.cons(c)
Please sign in to comment.
Something went wrong with that request. Please try again.