You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2006/05/07 22:54:21 UTC

[jira] Geschlossen: (XMLRPC-9) Base64 decoder chokes on a whitespace

     [ http://issues.apache.org/jira/browse/XMLRPC-9?page=all ]
     
Jochen Wiedmann closed XMLRPC-9:
--------------------------------

    Resolution: Fixed
     Assign To:     (was: rpc-dev mailing list)

Version 2 uses the commons-codec.

> Base64 decoder chokes on a whitespace
> -------------------------------------
>
>          Key: XMLRPC-9
>          URL: http://issues.apache.org/jira/browse/XMLRPC-9
>      Project: XML-RPC
>         Type: Bug

>   Components: Source
>     Versions: unspecified
>  Environment: Operating System: All
> Platform: All
>     Reporter: Vjekoslav Nesek
>  Attachments: Base64.patch, Base64Test.patch, Base64Test.patch, FAST-Base64-encoder.patch, FIXED-Base64-encoder.patch, WhitespaceBase64Test.java, patch, patch
>
> base64 decoder in apache xml-rpc can't handle whitespace
> (' ', \r, \n, \t) embeded in Base64 data. As a number of
> clients split base64 in a multiple lines (example,
> python xmlrpclib) this is a serious interoperability issue.
> To make things worse apache xmlrpc don't even throw an
> exception, instead it incorrectly decodes data. 
> In order to fix this bug you can use any of number of
> correct opensource base64 encoders available on a net.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira