Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8569

Allow newline characters when decoding base64 strings in stout.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.2, 1.5.1, 1.6.0
    • stout
    • None
    • Mesosphere Sprint 75
    • 2

    Description

      Current implementation of `stout::base64::decode` errors out on encountering a newline character ("\n" or "\r\n") which is correct wrt RFC4668#section-3.3. However, most implementations insert a newline to delimit encoded string and ignore (instead of erroring out) the newline character while decoding the string. Since stout facilities are used by third-party modules to encode/decode base64 data, it is desirable to allow decoding of newline-delimited data.

      Attachments

        Activity

          People

            karya Kapil Arya
            karya Kapil Arya
            Till Toenshoff Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: