[
https://issues.apache.org/jira/browse/CODEC-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Herbert resolved CODEC-289.
--------------------------------
Fix Version/s: 1.15
Resolution: Fixed
Merged in commit
a6b2f1329beec2cd9abb86dc2ea80300e9ccb77b
> Base32/64Input/OutputStream to allow optional strict/lenient decoding
> ---------------------------------------------------------------------
>
> Key: CODEC-289
> URL: https://issues.apache.org/jira/browse/CODEC-289
> Project: Commons Codec
> Issue Type: Improvement
> Affects Versions: 1.14
> Reporter: Alex Herbert
> Assignee: Alex Herbert
> Priority: Major
> Fix For: 1.15
>
>
> Add the strict decoding option from the Base32/64 decoder to the
> Input/OutputStream versions.
> Requires adding a property to BaseNCodecInputStream and
> BaseNCodecOutputStream to pass through to the underlying decoder:
> {code:java}
> public void setStrictDecoding(boolean strictDecoding) {
> baseNCodec.setStrictDecoding(strictDecoding);
> }
> public boolean isStrictDecoding() {
> return baseNCodec.isStrictDecoding();
> }
> {code}
> This would allow Base32/64 Input/Output streams to use the strict decoding
> mode. Default behaviour would be lenient decoding for backward compatibility.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)