Christian Grothoff 7 ani în urmă
părinte
comite
79a8955bb6
2 a modificat fișierele cu 3 adăugiri și 4 ștergeri
  1. 3 0
      ChangeLog
  2. 0 4
      src/microhttpd/connection.c

+ 3 - 0
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).

+ 0 - 4
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;
 }