You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2017/05/01 22:57:04 UTC
[jira] [Commented] (CODEC-234) Base32.decode should support
lowercase letters
[ https://issues.apache.org/jira/browse/CODEC-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991707#comment-15991707 ]
Sebb commented on CODEC-234:
----------------------------
bq. RFC 4648 makes it clear that case-insensitivity is a goal for Base32 encoding.
I could not find a reference to that.
I'm not sure that accepting 0 and 1 is a good idea.
In any case, I don't think it's a good idea to unconditionally change the default behaviour.
Any such change (if agreed) ought to be optional.
> 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
> Attachments: CODEC-234.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.3.15#6346)