mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* gpgkeys_ldap.c (printquoted), curl-shim.c (curl_escape): Fix bad
encoding of characters > 127. Noted by Nalin Dahyabhai.
This commit is contained in:
parent
0b5bc307d7
commit
5476afe1b4
3 changed files with 7 additions and 2 deletions
|
@ -1258,7 +1258,7 @@ printquoted(FILE *stream,char *string,char delim)
|
|||
while(*string)
|
||||
{
|
||||
if(*string==delim || *string=='%')
|
||||
fprintf(stream,"%%%02x",*string);
|
||||
fprintf(stream,"%%%02x",(unsigned char)*string);
|
||||
else
|
||||
fputc(*string,stream);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue