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 12:03:06 UTC
svn commit: r1372349 - /httpd/httpd/trunk/server/util.c
Author: humbedooh
Date: Mon Aug 13 10:03:06 2012
New Revision: 1372349
URL: http://svn.apache.org/viewvc?rev=1372349&view=rev
Log:
Ditch the !, since that would result in the opposite of what was intended
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=1372349&r1=1372348&r2=1372349&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Mon Aug 13 10:03:06 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 || strncmp("application/x-www-form-urlencoded", ct, 33)) {
return ap_discard_request_body(r);
}