Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 65543 invoked from network); 7 Jan 2010 21:44:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 21:44:45 -0000 Received: (qmail 89723 invoked by uid 500); 7 Jan 2010 21:44:44 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 89619 invoked by uid 500); 7 Jan 2010 21:44:44 -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 89608 invoked by uid 99); 7 Jan 2010 21:44:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 21:44:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [202.37.75.130] (HELO akl-prx1.orion.internal) (202.37.75.130) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 07 Jan 2010 21:44:36 +0000 Received: from akl-zm2.orion.internal (akl-zm2.orion.internal [172.20.1.3]) by akl-prx1.orion.internal (Postfix) with ESMTP id 167C71C18F86 for ; Fri, 8 Jan 2010 10:44:12 +1300 (NZDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by akl-zm2.orion.internal (Postfix) with ESMTP id E92FD2518028 for ; Fri, 8 Jan 2010 10:44:11 +1300 (NZDT) X-Virus-Scanned: amavisd-new at akl-zm2.orion.internal Received: from akl-zm2.orion.internal ([127.0.0.1]) by localhost (akl-zm2.orion.internal [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mOXYbbhaN1uc for ; Fri, 8 Jan 2010 10:44:11 +1300 (NZDT) Received: from akl-zm2.orion.internal (akl-zm2.orion.internal [172.20.1.3]) by akl-zm2.orion.internal (Postfix) with ESMTP id 846B52518027 for ; Fri, 8 Jan 2010 10:44:11 +1300 (NZDT) Date: Fri, 8 Jan 2010 10:44:11 +1300 (NZDT) From: Tim Whittington To: Tomcat Developers List Message-ID: <2079603630.7271262900648581.JavaMail.timw@duckbook> Subject: Use of raw HTTP headers by default in ISAPI Redirector MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_602_881247506.1262900648580" X-Originating-IP: [192.168.20.13] X-Mailer: Zimbra 6.0.4_GA_2038.RHEL4_64 (Yahoo! Zimbra Desktop/1.0.3_1696_Mac) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_602_881247506.1262900648580 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit There's a long standing issue in the ISAPI redirector, that by default the HTTP headers are obtained using the CGI style ALL_HTTP variable. The net result of this is that the case of headers is lost, and all underscores in the original header names are converted to dashes. There's code in the redirector to handle parsing the raw HTTP headers from the ALL_RAW variable, which is enabled by defining USE_RAW_HEADERS and appears to work fine. This code appears to have been there since the beginning of (Tomcat) time - does anyone know of a good reason why USE_RAW_HEADERS should not be the default (and indeed why there should even be an option)? https://issues.apache.org/bugzilla/show_bug.cgi?id=38895 is the issue (from 2006!) cheers tim ------=_Part_602_881247506.1262900648580--