Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-77

Base64 bug with empty input (new byte[0])

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.4
    • None

    Description

      Base64.encode(new byte[0]) doesn't return an empty byte array back! It returns CRLF.

      Attachments

        1. codec-77.patch
          4 kB
          Julius Davies

        Activity

          People

            Unassigned Unassigned
            juliusdavies Julius Davies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: