[jboss-jira] [JBoss JIRA] (SECURITY-701) Wrong character table in Base64Utils

David Lloyd (JIRA) jira-events at lists.jboss.org
Thu Oct 11 15:57:04 EDT 2012


    [ https://issues.jboss.org/browse/SECURITY-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725732#comment-12725732 ] 

David Lloyd commented on SECURITY-701:
--------------------------------------

Just a heads-up - there are actually many slightly variant base64 schemes.  You should be sure you're not fixing one use case while breaking another.
                
> Wrong character table in Base64Utils
> ------------------------------------
>
>                 Key: SECURITY-701
>                 URL: https://issues.jboss.org/browse/SECURITY-701
>             Project: PicketBox 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JBossSX
>    Affects Versions: PicketBox_4_0_12.Final
>            Reporter: wiktorowski maximilien
>            Assignee: Stefan Guilhen
>
> In picketbox-4.0.7.Final.jar org.jboss.security.Base64Utils has a wrong character table
> private static final char[] base64Table = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz./".toCharArray();
> It should be
> private static final char[] base64Table = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/".toCharArray();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list