Subject: | No decoding of some encoded MIME parameters |
Apparently Courriel does not decode MIME parameters when encoded as in
RFC 2231 §4.
Full test:
{
# http://tools.ietf.org/html/rfc2231 §4
# Parameter Value Character Set and Language Information
my ( $val, $attrs )
= Courriel::Helpers::parse_header_with_attributes(
q{attachment;
filename*=us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A'}
);
is_deeply(
$attrs,
{ filename => q{This is ***fun***} },
'parsed encoded attributes correctly (rfc2231 paragraph 4)'
);
}