You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/08/13 15:37:16 UTC
svn commit: r1372419 - /httpd/httpd/trunk/server/util.c
Author: humbedooh
Date: Mon Aug 13 13:37:15 2012
New Revision: 1372419
URL: http://svn.apache.org/viewvc?rev=1372419&view=rev
Log:
make the CT check in ap_parse_form_data case-insensitive
Modified:
httpd/httpd/trunk/server/util.c
Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1372419&r1=1372418&r2=1372419&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Mon Aug 13 13:37:15 2012
@@ -2406,7 +2406,7 @@ AP_DECLARE(int) ap_parse_form_data(reque
/* sanity check - we only support forms for now */
ct = apr_table_get(r->headers_in, "Content-Type");
- if (!ct || strncmp("application/x-www-form-urlencoded", ct, 33)) {
+ if (!ct || strncasecmp("application/x-www-form-urlencoded", ct, 33)) {
return ap_discard_request_body(r);
}