diff options
| author | Robert Pluim | 2019-12-09 18:41:59 +0100 |
|---|---|---|
| committer | Robert Pluim | 2019-12-12 08:28:25 +0100 |
| commit | d57bb0c323c326518d9cc974dc794f9e23a51917 (patch) | |
| tree | 001f12d08fd4b34dd86cbe812f5427a563fe4564 /src/alloc.c | |
| parent | 7a498af10a9b19ab3d88663acd4bb5724eeef6c8 (diff) | |
| download | emacs-d57bb0c323c326518d9cc974dc794f9e23a51917.tar.gz emacs-d57bb0c323c326518d9cc974dc794f9e23a51917.zip | |
Treat passed strings as raw-text when percent-escaping in epg
The strings contained in gpg keys can contain UTF-8 data, but can also
use percent-escapes to encode non-ASCII chars. When converting those
escapes, use 'raw-text' coding system rather than 'string-to-unibyte',
since the latter signals an error for non-ASCII characters.
* lisp/epg.el (epg--decode-percent-escape): Convert the passed
string to raw-text before treating percent escapes (Bug#38512).
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions