Base64.getMimeDecoder().decode() throws exception for non-base64 character after padding =

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • 8
    • b77
    • Verified

      (1) j.u.Base64.getMimeDecoder().decode() throws exception for non-base64 character after padding =. For example "AA==\n"
      (2) j.u.Base64.getMimeDecoder().encoder() does not add line ending at the end of the result, this should be documented explicitly.

            Assignee:
            Xueming Shen
            Reporter:
            Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: