[ 
https://issues.apache.org/jira/browse/MESOS-8569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kapil Arya reassigned MESOS-8569:
---------------------------------

    Assignee: Kapil Arya

> Allow newline characters when decoding base64 strings in stout
> --------------------------------------------------------------
>
>                 Key: MESOS-8569
>                 URL: https://issues.apache.org/jira/browse/MESOS-8569
>             Project: Mesos
>          Issue Type: Task
>          Components: stout
>            Reporter: Kapil Arya
>            Assignee: Kapil Arya
>            Priority: Major
>
> 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|https://tools.ietf.org/html/rfc4648#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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to