You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christopher Schultz (JIRA)" <ji...@apache.org> on 2017/09/24 13:40:00 UTC
[jira] [Closed] (CODEC-234) Base32.decode should support lowercase
letters
[ https://issues.apache.org/jira/browse/CODEC-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Schultz closed CODEC-234.
-------------------------------------
Tests pass, and my test client code driver (for TOTP authentication) works as expected under 1.1-SNAPSHOT but not 1.10.
Looks good to me, thanks.
> Base32.decode should support lowercase letters
> ----------------------------------------------
>
> Key: CODEC-234
> URL: https://issues.apache.org/jira/browse/CODEC-234
> Project: Commons Codec
> Issue Type: Improvement
> Affects Versions: 1.10
> Reporter: Christopher Schultz
> Priority: Minor
> Labels: patch-available
> Fix For: 1.11
>
> Attachments: CODEC-234-3.diff
>
>
> Base32.decode accepts a String input, but any lowercase characters are ignored -- e.g. Base32.decode("abcd2345") will give a different result than Base32.decode("ABCD1234") with no errors and a surprise to a developer.
> Accepting any case is desirable, as RFC 4648 makes it clear that case-insensitivity is a goal for Base32 encoding.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)