mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
Quote backslashes in keyserver search responses
This commit is contained in:
parent
5fe15dfeb5
commit
d56fb26c55
@ -1,3 +1,7 @@
|
||||
2002-03-29 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap.c (printquoted): Quote backslashes
|
||||
|
||||
2002-02-25 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* gpgkeys_ldap (get_key): LDAP keyservers do not support v3
|
||||
|
@ -438,8 +438,8 @@ void printquoted(FILE *stream,char *string,char delim)
|
||||
{
|
||||
while(*string)
|
||||
{
|
||||
if(*string==delim)
|
||||
fprintf(stream,"\\x%02X",*string);
|
||||
if(*string==delim || *string=='\\')
|
||||
fprintf(stream,"\\x%02x",*string);
|
||||
else
|
||||
fputc(*string,stream);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user