libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 79a8955bb61d62f6dc4fc93d2f05a08adf8596d5
parent 11eb7a48269b820f4c954127abdcd26e56111b99
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  5 Dec 2018 18:20:00 +0100

fix #5496:
'

Diffstat:
MChangeLog | 3+++
Msrc/microhttpd/connection.c | 4----
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Wed Dec 5 18:08:59 CET 2018 + Fix regression causing URLs to be unescaped twice. -CG + Sun Nov 18 13:08:11 CET 2018 Parse arguments with (properly) escaped URLs correctly. (making things work with recent cURL changes, #5473). diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2307,10 +2307,6 @@ parse_initial_message_line (struct MHD_Connection *connection, &connection_add_header, &unused_num_headers); } - if (NULL != uri) - daemon->unescape_callback (daemon->unescape_callback_cls, - connection, - uri); connection->url = curi; return MHD_YES; }