1
0
Fork 0
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:
David Shaw 2006-07-12 21:16:57 +00:00
parent 0b5bc307d7
commit 5476afe1b4
3 changed files with 7 additions and 2 deletions

View file

@ -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);