libmicrohttpd

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

commit d89c24fb9eeae98406ae184b040a958f509f99df
parent b2d6d2afe1a871a7905e2aaae71ff6e240529b33
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 28 Sep 2008 21:04:53 +0000

unescape URIs

Diffstat:
MAUTHORS | 1+
MChangeLog | 3+++
Msrc/daemon/connection.c | 1+
3 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/AUTHORS b/AUTHORS @@ -12,6 +12,7 @@ Heikki Lindholm <holindho@cs.helsinki.fi> Alex Sadovsky <alexeysad@gmail.com> Greg Schohn <greg.schohn@gmail.com> Thomas Martin <Thomas.Martin@rohde-schwarz.com> +RuXu W <wrxzzj@gmail.com> Documentation contributions also came from: Marco Maggi <marco.maggi-ipsu@poste.it> diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Sun Sep 28 14:57:46 MDT 2008 + Unescape URIs (convert "%ef%e4%45" to "中国"). + Wed Sep 10 22:43:59 MDT 2008 Releasing GNU libmicrohttpd 0.4.0pre0. -CG diff --git a/src/daemon/connection.c b/src/daemon/connection.c @@ -1033,6 +1033,7 @@ parse_initial_message_line (struct MHD_Connection *connection, char *line) args++; parse_arguments (MHD_GET_ARGUMENT_KIND, connection, args); } + MHD_http_unescape(uri); connection->url = uri; if (httpVersion == NULL) connection->version = "";