commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julius Davies (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CODEC-140) isBase64 returns true for any UTF8 string
Date Wed, 25 Apr 2012 21:58:18 GMT

     [ https://issues.apache.org/jira/browse/CODEC-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julius Davies resolved CODEC-140.
---------------------------------

    Resolution: Not A Problem
      Assignee: Julius Davies

The characters in the word "Hello" are all valid according to the Base64 alphabet we are using.
 Take a look at "Page 24" of this document:

http://www.ietf.org/rfc/rfc2045.txt

                
> isBase64 returns true for any UTF8 string
> -----------------------------------------
>
>                 Key: CODEC-140
>                 URL: https://issues.apache.org/jira/browse/CODEC-140
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message