From dev-return-203058-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Tue Nov 5 22:26:11 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A9804180648 for ; Tue, 5 Nov 2019 23:26:10 +0100 (CET) Received: (qmail 76993 invoked by uid 500); 5 Nov 2019 22:26:09 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 76940 invoked by uid 99); 5 Nov 2019 22:26:08 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2019 22:26:08 +0000 Received: from bz-he-de.apache.org (bz-he-de.apache.org [148.251.237.210]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 4EB99E0295 for ; Tue, 5 Nov 2019 22:26:08 +0000 (UTC) Received: by bz-he-de.apache.org (ASF Mail Server at bz-he-de.apache.org, from userid 33) id 2CBD96A0068; Tue, 5 Nov 2019 22:26:06 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: [Bug 63905] New: ErrorReportValve adds CSS even if both showReport and showServerInfo are set to false Date: Tue, 05 Nov 2019 22:26:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 8 X-Bugzilla-Component: Catalina X-Bugzilla-Version: 8.5.x-trunk X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: awaltman@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: ---- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D63905 Bug ID: 63905 Summary: ErrorReportValve adds CSS even if both showReport and showServerInfo are set to false Product: Tomcat 8 Version: 8.5.x-trunk Hardware: All OS: All Status: NEW Severity: minor Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: awaltman@gmail.com Target Milestone: ---- According to the documentation for ErrorReportValve (https://tomcat.apache.org/tomcat-8.5-doc/config/valve.html#Error_Report_Va= lve), disabling both showServerInfo and showReport will only return the HTTP stat= us code and remove all CSS, however after the fix for 60490 (https://bz.apache.org/bugzilla/show_bug.cgi?id=3D60490) this is no longer = the case and the error page returns responses like this: HTTP Status 400 =E2=80=93 Bad Request

= HTTP Status 400 =E2=80=93 Bad Request

--=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org