Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-106

Basic Authentication bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0rc1
    • Fix Version/s: None
    • Component/s: Source
    • Labels:
      None

      Description

      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.

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--HttpUtil.patch
          0.5 kB
          Julio Francisco Veronelli

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ckjfveronelli Julio Francisco Veronelli
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: