Basic Authentication bug
------------------------

                 Key: XMLRPC-106
                 URL: http://issues.apache.org/jira/browse/XMLRPC-106
             Project: XML-RPC
          Issue Type: Bug
          Components: Source
    Affects Versions: 3.0rc1
            Reporter: Julio Francisco Veronelli
         Attachments: HttpUtil.patch

Basic Authentication is not working correctly. Explanation:

The Base64 encoder inserts carriage-returns (\n) every 76 characters. But, the 
HTTP header of Basic Authentication does not allow carriage-returns or 
line-feeds inside the encoded data.

Here's a patch to fix this bug, by taking out all carriage returns inserted by 
the Base64 encoder.

Cheers.

-- 
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

        

Reply via email to