develooper Front page | perl.perl5.porters | Postings from June 2022

[Encode] 3.18 Released

Thread Previous | Thread Next
From:
Dan Kogai
Date:
June 25, 2022 02:36
Subject:
[Encode] 3.18 Released
Message ID:
9786DCA8-E0C2-4D77-9334-6EF9BF6F4060@dan.co.jp
Porters,

Just released Encode 3.18. It fixes the issue of Encode::MIME::Header when it contains improperly padded base64 words.

https://github.com/dankogai/p5-encode/commit/6513c0a54e5b02fbbd0c2f6096b03ea441438dc4
> In default non-strict mode Encode::MIME::Header concatenate all consecutive
> base64 words into one long string and then it decodes. Decoding of this
> long string would return garbage if some base64 word is not properly padded
> with '=' characters to length divisible by 4.
> 
> Fix this issue by first padding every base64 word to length multiplied by 4
> by adding '=' padding characters in non-strict mode and after that do that
> concatenation.


CI is also switched from Travis to Github Actions.  Thanks to that it is now tested on macOS and Windows in addition to Linux.

=head1 Availability

* git clone git://github.com/dankogai/p5-encode.git
* https://www.dan.co.jp/~dankogai/cpan/Encode-3.18.tar.gz
* CPAN near you.

CI is all green.

* https://github.com/dankogai/p5-encode/actions/workflows/platforms.yml
* https://github.com/dankogai/p5-encode/actions/workflows/versions.yml

=head1 CPAN index

 User: DANKOGAI ()
 Distribution file: Encode-3.18.tar.gz
 Number of files: 226
 *.pm files: 26
 README: Encode-3.18/README
 META-File: Encode-3.18/META.json
 META-Parser: Parse::CPAN::Meta 1.4414
 META-driven index: no
 Timestamp of file: Sat Jun 25 02:14:35 2022 UTC
 Time of this run: Sat Jun 25 02:17:39 2022 UTC

=head1 Changes

$Revision: 3.18 $ $Date: 2022/06/25 02:05:01 $
! lib/Encode/MIME/Header.pm t/mime-header.t
  Pulled: Encode::MIME::Header: Fix base64 word decoding
  https://github.com/dankogai/p5-encode/pull/169
! t/Unicode_trailing_nul.t t/truncated_utf8.t
  t/utf32warnings.t t/xml.t
  Skip so Github Actions are happy
  https://github.com/dankogai/p5-encode/blob/main/.github/workflows/versions.yml

=head1 AUTHOR

Dan the Encode Maintainer


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About