]> granicus.if.org Git - apache/commitdiff
Ditch the !, since that would result in the opposite of what was intended
authorDaniel Gruno <humbedooh@apache.org>
Mon, 13 Aug 2012 10:03:06 +0000 (10:03 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 13 Aug 2012 10:03:06 +0000 (10:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1372349 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index ca1027ebc1e416c3c47ff0a0739f3739aa9fd83d..a8b50479b17d2aeba0832087d981fd62ff28b1dd 100644 (file)
@@ -2406,7 +2406,7 @@ AP_DECLARE(int) ap_parse_form_data(request_rec *r, ap_filter_t *f,
 
     /* 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);
     }