Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1247

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1247
    Summary: Base64::decode fails when string contains consecutive whitespace
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Xerces-C++
 Components: 
             Utilities
   Versions:
             2.5.0

   Assignee: 
   Reporter: Frank Pilhofer

    Created: Fri, 30 Jul 2004 11:57 AM
    Updated: Fri, 30 Jul 2004 11:57 AM
Environment: N/A

Description:
The Base64::decode function requires that the input string does not
contain more than one consecutive whitespace.

However, there is no such restriction in RFC 2045, "Multipurpose
Internet Mail Extensions," which defines the Base 64 encoding in
section 6.8. In fact, it clearly states that

 Any characters outside of the base64 alphabet are to be ignored in
 base64-encoded data.

Note that the current implementation would, e.g., fail if the
input string contains a CR LF sequence.

Proposed resolution: get rid of the "inWhiteSpace" test.



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to