Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 38784 invoked from network); 8 Mar 2011 14:25:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 14:25:22 -0000 Received: (qmail 53596 invoked by uid 500); 8 Mar 2011 14:25:22 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 53479 invoked by uid 500); 8 Mar 2011 14:25:22 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 53416 invoked by uid 99); 8 Mar 2011 14:25:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 14:25:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 14:25:20 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p28EOwxg020830 for ; Tue, 8 Mar 2011 14:24:58 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id p28EOwT0020829; Tue, 8 Mar 2011 09:24:58 -0500 (EST) Date: Tue, 8 Mar 2011 09:24:58 -0500 (EST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 50891] New: Apache rewrites WWW-Authenticate headers from CGI programs X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_cgi X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alec-keyword-apache.d8a97a@setfilepointer.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=50891 Summary: Apache rewrites WWW-Authenticate headers from CGI programs Product: Apache httpd-2 Version: 2.2.16 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_cgi AssignedTo: bugs@httpd.apache.org ReportedBy: alec-keyword-apache.d8a97a@setfilepointer.com Created an attachment (id=26743) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26743) patch to preserve WWW-authenticate headers in CGI responses When parsing CGI response headers, apache rewrites the WWW-Authenticate headers in a standards-compliant way. Unfortunately, popular browsers (Firefox 3.6.15 at least) do not correctly process the rewritten headers. This breaks completely breaks authentication when multiple WWW-Authenticate headers are sent from a CGI script. There is already code to preserve Set-Cookie headers in util_script.c. Replicating this code for WWW-Authenticate fixes the issue. The attached patch implements this fix in the most trivial way. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org