emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP


From: Alex Harsanyi
Subject: Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP
Date: Fri, 11 Mar 2016 21:49:54 +0800

2016-03-11 16:35 GMT+08:00 Andreas Schwab <address@hidden>:
> Thomas Fitzsimmons <address@hidden> writes:
>
>> Before your patch, what problem did you see?
>
> An undecoded string.
>
>> To see what other callers do, I tried (debbugs-org-bugs 22285); it
>> decodes the originator field itself:
>>
>>   [...]
>>   (originator (when (cdr (assq 'originator status))
>>                 (decode-coding-string
>>                  (cdr (assq 'originator status)) 'utf-8)))
>
> I expect that to be done at the transport level.

Unfortunately, there is not enough information to decode the string at
the transport level.  What if the base64 data contains a PNG image or
some other binary data?

Best Regards,
Alex.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]