From 349e9efc91bbb3f13d4d2094b12d34b1070778cb Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Fri, 21 Sep 2018 23:58:40 +0300 Subject: [PATCH] Remove malformed patch file --- ...h_apache_disable_additional_errormsg.patch | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 patches/patch_apache_disable_additional_errormsg.patch diff --git a/patches/patch_apache_disable_additional_errormsg.patch b/patches/patch_apache_disable_additional_errormsg.patch deleted file mode 100644 index ee46e39..0000000 --- a/patches/patch_apache_disable_additional_errormsg.patch +++ /dev/null @@ -1,36 +0,0 @@ -Author: Pekka Helenius (~Fincer), 2018 - -Patch: Remove error HTML body from Apache server output message - -Removes additional error messages as well. -Do not give any hints about existence of Apache ErrorDocument to the client - -This patch is useful in some cases but can bury underneath problems in server -configuration. Thus, use discretion before implementing the patch -in your Apache server. - -This patch removes default error pages returned by an erroneous HTTP request. -If you need to use error pages, customize them in your Apache configs. - -@@ -1531,7 +1531,7 @@ AP_DECLARE(void) ap_send_error_response( - /* can't count on a charset filter being in place here, - * so do ebcdic->ascii translation explicitly (if needed) - */ -- -+/* - ap_rvputs_proto_in_ascii(r, - DOCTYPE_HTML_2_0 - "\n", title, -@@ -1549,9 +1549,9 @@ AP_DECLARE(void) ap_send_error_response( - "ErrorDocument to handle the request.</p>\n", NULL); - } - ap_rvputs_proto_in_ascii(r, ap_psignature("<hr>\n", r), NULL); -- ap_rvputs_proto_in_ascii(r, "</body></html>\n", NULL); -- } -- ap_finalize_request_protocol(r); -+ ap_rvputs_proto_in_ascii(r, "</body></html>\n", NULL);*/ -+ }/* -+ ap_finalize_request_protocol(r);*/ - } - - /*