mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-11 22:52:47 +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>
|
2002-02-25 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* gpgkeys_ldap (get_key): LDAP keyservers do not support v3
|
* gpgkeys_ldap (get_key): LDAP keyservers do not support v3
|
||||||
|
@ -438,8 +438,8 @@ void printquoted(FILE *stream,char *string,char delim)
|
|||||||
{
|
{
|
||||||
while(*string)
|
while(*string)
|
||||||
{
|
{
|
||||||
if(*string==delim)
|
if(*string==delim || *string=='\\')
|
||||||
fprintf(stream,"\\x%02X",*string);
|
fprintf(stream,"\\x%02x",*string);
|
||||||
else
|
else
|
||||||
fputc(*string,stream);
|
fputc(*string,stream);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user