[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8146 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8146 - in libmicrohttpd: . src/daemon |
Date: |
Fri, 23 Jan 2009 16:58:45 -0700 (MST) |
Author: grothoff
Date: 2009-01-23 16:58:44 -0700 (Fri, 23 Jan 2009)
New Revision: 8146
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/postprocessor.c
Log:
fixing Mantis 1443
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2009-01-23 18:39:05 UTC (rev 8145)
+++ libmicrohttpd/ChangeLog 2009-01-23 23:58:44 UTC (rev 8146)
@@ -1,3 +1,7 @@
+Fri Jan 23 16:57:21 MST 2009
+ Support charset specification (ignore) after content-type
+ when post-processing HTTP POST requests (Mantis #1443). -CG/SN
+
Fri Dec 26 23:08:04 MST 2008
Fixed broken check for identical connection address. -CG
Making cookie parser more RFC2109 compliant (handle
Modified: libmicrohttpd/src/daemon/postprocessor.c
===================================================================
--- libmicrohttpd/src/daemon/postprocessor.c 2009-01-23 18:39:05 UTC (rev
8145)
+++ libmicrohttpd/src/daemon/postprocessor.c 2009-01-23 23:58:44 UTC (rev
8146)
@@ -263,7 +263,8 @@
if (encoding == NULL)
return NULL;
boundary = NULL;
- if (0 != strcasecmp (MHD_HTTP_POST_ENCODING_FORM_URLENCODED, encoding))
+ if (0 != strncasecmp (MHD_HTTP_POST_ENCODING_FORM_URLENCODED, encoding,
+ strlen (MHD_HTTP_POST_ENCODING_MULTIPART_FORMDATA)))
{
if (0 !=
strncasecmp (MHD_HTTP_POST_ENCODING_MULTIPART_FORMDATA, encoding,
@@ -1005,7 +1006,8 @@
return MHD_YES;
if (pp == NULL)
return MHD_NO;
- if (0 == strcasecmp (MHD_HTTP_POST_ENCODING_FORM_URLENCODED, pp->encoding))
+ if (0 == strncasecmp (MHD_HTTP_POST_ENCODING_FORM_URLENCODED, pp->encoding,
+ strlen(MHD_HTTP_POST_ENCODING_FORM_URLENCODED)))
return post_process_urlencoded (pp, post_data, post_data_len);
if (0 ==
strncasecmp (MHD_HTTP_POST_ENCODING_MULTIPART_FORMDATA, pp->encoding,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8146 - in libmicrohttpd: . src/daemon,
gnunet <=