You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rpc-dev@xml.apache.org by bu...@apache.org on 2002/06/17 21:56:05 UTC

DO NOT REPLY [Bug 9931] New: - Base64 decoder chokes on a whitespace

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9931>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9931

Base64 decoder chokes on a whitespace

           Summary: Base64 decoder chokes on a whitespace
           Product: XML-RPC
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Source
        AssignedTo: rpc-dev@xml.apache.org
        ReportedBy: vnesek@yahoo.com


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.