commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <>
Subject [jira] [Commented] (CODEC-140) isBase64 returns true for any UTF8 string
Date Thu, 26 Apr 2012 16:18:20 GMT


Julius Davies commented on CODEC-140:

I don't think it's a bug.  The javadoc on isBase64() makes it clear that "Hello" should return

"Tests a given String to see if it contains only valid characters within the Base64 alphabet.
Currently the method treats whitespace as valid."
> isBase64 returns true for any UTF8 string
> -----------------------------------------
>                 Key: CODEC-140
>                 URL:
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: windows/linux
>            Reporter: Mohit Anchlia
>            Assignee: Julius Davies
> I just called Base64.isBase64("Hello") for instance and it returns true. I thought it
would return true only if it is valid base64 encoded string.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message