Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 93666 invoked by uid 500); 4 Feb 2002 15:18:46 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 93654 invoked by uid 500); 4 Feb 2002 15:18:46 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 4 Feb 2002 15:18:45 -0000 Message-ID: <20020204151845.56216.qmail@icarus.apache.org> From: slive@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/support suexec.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N slive 02/02/04 07:18:45 Modified: . CHANGES support suexec.c Log: suexec: Allow HTTPS and SSL_* environment variables to be passed through to CGI scripts. PR: 9163 Submitted by: Brian Reid , Zvi Har'El Reviewed by: Joshua Slive, Lars Eilebrecht, Martin Kraemer Revision Changes Path 1.562 +5 -0 httpd-2.0/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/httpd-2.0/CHANGES,v retrieving revision 1.561 retrieving revision 1.562 diff -u -d -b -u -r1.561 -r1.562 --- CHANGES 2 Feb 2002 20:30:03 -0000 1.561 +++ CHANGES 4 Feb 2002 15:18:44 -0000 1.562 @@ -1,5 +1,10 @@ Changes with Apache 2.0.32-dev + *) suexec: Allow HTTPS and SSL_* environment variables to be passed + through to CGI scripts. PR 9163 + [Brian Reid , + Zvi Har'El ] + *) binbuild.sh: Make sure that we use the expat from our source tree so that there aren't any surprises on the target machine. [Jeff Trawick] 1.18 +2 -1 httpd-2.0/support/suexec.c Index: suexec.c =================================================================== RCS file: /home/cvs/httpd-2.0/support/suexec.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -b -u -r1.17 -r1.18 --- suexec.c 22 Nov 2001 07:42:13 -0000 1.17 +++ suexec.c 4 Feb 2002 15:18:45 -0000 1.18 @@ -136,6 +136,7 @@ "DOCUMENT_URI", "FILEPATH_INFO", "GATEWAY_INTERFACE", + "HTTPS", "LAST_MODIFIED", "PATH_INFO", "PATH_TRANSLATED", @@ -227,7 +228,7 @@ cidx++; for (ep = environ; *ep && cidx < AP_ENVBUF-1; ep++) { - if (!strncmp(*ep, "HTTP_", 5)) { + if (!strncmp(*ep, "HTTP_", 5) || !strncmp(*ep, "SSL_", 4)) { cleanenv[cidx] = *ep; cidx++; }