mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* http.c (insert_escapes): Fix encoding problem for non-URI-safe
characters. Noted by Vladimir Novak.
This commit is contained in:
parent
ecb6f4c2f7
commit
7f2369b7df
@ -1,3 +1,8 @@
|
||||
2004-08-19 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* http.c (insert_escapes): Fix encoding problem for non-URI-safe
|
||||
characters. Noted by Vladimir Novak.
|
||||
|
||||
2004-08-11 Werner Koch <wk@g10code.de>
|
||||
|
||||
* dotlock.c (destroy_dotlock): New.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* http.c - HTTP protocol handler
|
||||
* Copyright (C) 1999, 2001, 2003 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1999, 2001, 2003, 2004 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
@ -420,7 +420,7 @@ insert_escapes( byte *buffer, const byte *string, const byte *special )
|
||||
}
|
||||
else {
|
||||
if( buffer ) {
|
||||
sprintf( buffer, "%02X", *string );
|
||||
sprintf( buffer, "%%%02X", *string );
|
||||
buffer += 3;
|
||||
}
|
||||
n += 3;
|
||||
@ -430,9 +430,6 @@ insert_escapes( byte *buffer, const byte *string, const byte *special )
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
static URI_TUPLE
|
||||
parse_tuple( byte *string )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user