Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42167

QByteArray, wrong Base64 encoding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.2
    • Fix Version/s: 5.2.0
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      cc741597021dd5e9c7ca2caffaf8a15181f68e89

      Description

      According to documentation QByteArray::toBase64() encodes data according to RFC 2045. In this RFC is specified that line size cannot exceed 76 characters (not including line feed). The function doesn't take this into account and encode the whole chunk of data into one line.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            uvv Vyacheslav Yurkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes