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

QByteArray, wrong Base64 encoding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • 4.8.2
    • Core: Other
    • None
    • 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

            thiago Thiago Macieira
            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