diff options
Diffstat (limited to 'www/apache20/files/patch-secfix-CAN-2005-2088')
| -rw-r--r-- | www/apache20/files/patch-secfix-CAN-2005-2088 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/www/apache20/files/patch-secfix-CAN-2005-2088 b/www/apache20/files/patch-secfix-CAN-2005-2088 deleted file mode 100644 index 36fe17ad303c..000000000000 --- a/www/apache20/files/patch-secfix-CAN-2005-2088 +++ /dev/null @@ -1,20 +0,0 @@ ---- server/protocol.c 2005/07/14 16:49:17 219060 -+++ server/protocol.c 2005/07/14 16:51:55 219061 -@@ -885,6 +885,15 @@ - apr_brigade_destroy(tmp_bb); - return r; - } -+ -+ if (apr_table_get(r->headers_in, "Transfer-Encoding") -+ && apr_table_get(r->headers_in, "Content-Length")) { -+ /* 2616 section 4.4, point 3: "if both Transfer-Encoding -+ * and Content-Length are received, the latter MUST be -+ * ignored"; so unset it here to prevent any confusion -+ * later. */ -+ apr_table_unset(r->headers_in, "Content-Length"); -+ } - } - else { - if (r->header_only) { - - |
