From thorntonjeremy@example.com Sun Apr 01 08:15:50 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 11519 invoked by uid 500); 1 Apr 2001 08:15:50 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 11500 invoked by uid 501); 1 Apr 2001 08:15:49 -0000 Date: 1 Apr 2001 08:15:49 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: general/7497: DoS caused by error - Too many open files: Error accepting on cgid socket. [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: DoS caused by error - Too many open files: Error accepting on cgid socket. State-Changed-From-To: open-closed State-Changed-By: trawick State-Changed-When: Sun Apr 1 00:15:49 PST 2001 State-Changed-Why: The file descriptor leak was fixed a few days ago (at the time of the thread you noted on new-httpd) and will be in the next release. Thanks for the report, and thanks for using Apache! From thorntonjeremy@example.com Sun Apr 01 14:10:02 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 30923 invoked by uid 500); 1 Apr 2001 14:10:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 30905 invoked by uid 501); 1 Apr 2001 14:10:00 -0000 Resent-Date: 1 Apr 2001 14:10:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 28648 invoked by uid 501); 1 Apr 2001 14:04:01 -0000 Message-Id:<thorntonjeremy@example.com> Date:1 Apr 2001 14:04:01 -0000 From: Larry E.Ives <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: general/7499: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu >Number: 7499 >Category: general >Synopsis: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Apr 01 07:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: >Organization: apache >Environment: RedHat Linux 6.1 kernel 2.2.12-20 GNU compiler >Description: I have set up the access.conf file to password protect a directory that has Microsoft Word documents and Excel files. All works fine when the client is using Office 97 but when the client is using Office 2000 the password challenge comes up every time the client tries to access a new link in that directory. When the client is using 97 the password challenge only occurs once when entering that particular directory/site. I am using .htaccess files but have tried doing the config. in access.conf as well but it still had problems. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] rs before any document in that directory is accessed. From thorntonjeremy@example.com Sun Apr 01 14:10:02 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 30925 invoked by uid 500); 1 Apr 2001 14:10:02 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 30905 invoked by uid 501); 1 Apr 2001 14:10:00 -0000 Resent-Date: 1 Apr 2001 14:10:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 28648 invoked by uid 501); 1 Apr 2001 14:04:01 -0000 Message-Id:<thorntonjeremy@example.com> Date:1 Apr 2001 14:04:01 -0000 From: Larry E.Ives <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: general/7499: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu >Number: 7499 >Category: general >Synopsis: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Apr 01 07:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: >Organization: apache >Environment: RedHat Linux 6.1 kernel 2.2.12-20 GNU compiler >Description: I have set up the access.conf file to password protect a directory that has Microsoft Word documents and Excel files. All works fine when the client is using Office 97 but when the client is using Office 2000 the password challenge comes up every time the client tries to access a new link in that directory. When the client is using 97 the password challenge only occurs once when entering that particular directory/site. I am using .htaccess files but have tried doing the config. in access.conf as well but it still had problems. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] rs before any document in that directory is accessed. From thorntonjeremy@example.com Sun Apr 01 16:55:34 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 86673 invoked by uid 500); 1 Apr 2001 16:55:29 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 86401 invoked by uid 501); 1 Apr 2001 16:55:27 -0000 Date: 1 Apr 2001 16:55:27 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: general/7499: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: If I password protect a directory and the documents being retrieved by the client are Microsoft Office documents the password challenge works great when the client is using Office 97 but when using Office 2000 the password challenge occu State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Apr 1 09:55:26 PDT 2001 State-Changed-Why: Responsibility for caching the login information lies entirely with the client. If the client doesn't behave the way you want, you need to talk to the people that make the client. Apache can do nothing about it and has nothing to do with it. From thorntonjeremy@example.com Sun Apr 01 16:55:56 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 86996 invoked by uid 500); 1 Apr 2001 16:55:52 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 86974 invoked by uid 501); 1 Apr 2001 16:55:51 -0000 Date: 1 Apr 2001 16:55:51 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: other/7498: Re: Educational Materials Development [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Re: Educational Materials Development State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Apr 1 09:55:50 PDT 2001 State-Changed-Why: [This is a standard response.] This problem report does not refer to a software bug or suggestion, or has been entered in the database erroneously (such as by a bogus or mis-formatted email message). It is being closed. Class-Changed-From-To: sw-bug-mistaken Class-Changed-By: marc Class-Changed-When: Sun Apr 1 09:55:50 PDT 2001 Severity-Changed-From-To: serious-non-critical Severity-Changed-By: marc Severity-Changed-When: Sun Apr 1 09:55:50 PDT 2001 Responsible-Changed-From-To: gnats-admin-apache Responsible-Changed-By: marc Responsible-Changed-When: Sun Apr 1 09:55:50 PDT 2001 Responsible-Changed-Why: Assigning to mainstream db. Category-Changed-From-To: pending-other Category-Changed-By: marc Category-Changed-When: Sun Apr 1 09:55:50 PDT 2001 From thorntonjeremy@example.com Sun Apr 01 16:56:27 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 87326 invoked by uid 500); 1 Apr 2001 16:56:25 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 87310 invoked by uid 501); 1 Apr 2001 16:56:24 -0000 Date: 1 Apr 2001 16:56:24 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: other/7496: MUCH RESPECT [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: MUCH RESPECT State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Apr 1 09:56:24 PDT 2001 State-Changed-Why: [This is a standard response.] This problem report does not refer to a software bug or suggestion, or has been entered in the database erroneously (such as by a bogus or mis-formatted email message). It is being closed. Class-Changed-From-To: sw-bug-mistaken Class-Changed-By: marc Class-Changed-When: Sun Apr 1 09:56:24 PDT 2001 Severity-Changed-From-To: serious-non-critical Severity-Changed-By: marc Severity-Changed-When: Sun Apr 1 09:56:24 PDT 2001 Responsible-Changed-From-To: gnats-admin-apache Responsible-Changed-By: marc Responsible-Changed-When: Sun Apr 1 09:56:24 PDT 2001 Responsible-Changed-Why: Assigning to mainstream db. Category-Changed-From-To: pending-other Category-Changed-By: marc Category-Changed-When: Sun Apr 1 09:56:24 PDT 2001 From thorntonjeremy@example.com Sun Apr 01 20:20:02 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 75590 invoked by uid 500); 1 Apr 2001 20:20:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 75572 invoked by uid 501); 1 Apr 2001 20:20:00 -0000 Resent-Date: 1 Apr 2001 20:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 73404 invoked by uid 501); 1 Apr 2001 20:14:55 -0000 Message-Id:<thorntonjeremy@example.com> Date:1 Apr 2001 20:14:55 -0000 From: Taketo Kabe <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: mod_cgi/7500: [PATCH] Do not canonicalize non-alnum HTTP headers to '_' in CGI environment variable >Number: 7500 >Category: mod_cgi >Synopsis: [PATCH] Do not canonicalize non-alnum HTTP headers to '_' in CGI environment variable >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Sun Apr 01 13:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 2_0_15-alpha >Organization: apache >Environment: SunOS 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-60 gcc version 2.95.2 19991024 (release).1.9 >Description: Apache (and majority of HTTP servers also I suppose) will squish down CGI-environment variable name's letters to '_' for non-[a-zA-Z_] letters. This will cause "X-Header:" and "X_Header:" (and "X%Header:") HTTP headers all canonicalized to HTTP_X_HEADER, which may be a problem if i.e malicious user could send both headers to circumvent access control. It is not standard comformant to send non-[a-zA-Z_]* HTTP headers, and CGI-spec says nothing about these kind of situation. Handling of such HTTP headers are implementation-dependent. Most developers may not be aware of this, but also may not care about it. If they do, the following patch will expand non-[a-zA-Z_] HTTP header to 'x%02X' form when passing a CGI environment. >How-To-Repeat: * Prepare a CGI script which dumps CGI environment vars (echo "Content-Type: text/html"; echo; exec printenv) * Invoke the CGI script via HTTP with HTTP headers like GET /cgi-bin/printenv HTTP/1.0 X_Header: h1 X-Header: h2 * The result will show only HTTP_X_HEADER=H2 (or H1,depending on implementation). This is NOT a bug; no standard cover this kind of situation and is an implementation dependent behaviour. >Fix: This patch will expand non-[a-zA-Z_]* HTTP headers to 'x%02X' when passing a CGI environment. These kind of handling should be OPTIONAL and those who only care should apply it. diff -u httpd-2_0_15/server/util_script.c.dist httpd-2_0_15/server/util_script.c --- httpd-2_0_15/server/util_script.c.dist Fri Mar 9 20:30:34 2001 +++ httpd-2_0_15/server/util_script.c Sun Apr 1 19:27:09 2001 @@ -97,17 +97,25 @@ static char *http2env(apr_pool_t *a, char *w) { - char *res = apr_pstrcat(a, "HTTP_", w, NULL); - char *cp = res; + char *res,*cp; + apr_size_t olen = strlen(w); + /* the buffer can expand x3 if non-alnum is there */ + cp = res = apr_palloc(a, 5 + olen*3); + strcpy(res, "HTTP_"); cp+=5; - while (*++cp) { - if (!apr_isalnum(*cp) && *cp != '_') { - *cp = '_'; + for (w,cp; *w; w++) { + if (!apr_isalnum(*w)) { + if (*w == '-') { *cp++ = '_'; } + else { + /* don't squish it down unconditionally to '_' */ + cp += sprintf(cp, "x%02X", *w & 255); + } } else { - *cp = apr_toupper(*cp); + *cp++ = apr_toupper(*w); } } + *cp = '\0'; return res; } >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Sun Apr 01 20:20:03 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 75597 invoked by uid 500); 1 Apr 2001 20:20:02 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 75572 invoked by uid 501); 1 Apr 2001 20:20:00 -0000 Resent-Date: 1 Apr 2001 20:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 73404 invoked by uid 501); 1 Apr 2001 20:14:55 -0000 Message-Id:<thorntonjeremy@example.com> Date:1 Apr 2001 20:14:55 -0000 From: Taketo Kabe <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: mod_cgi/7500: [PATCH] Do not canonicalize non-alnum HTTP headers to '_' in CGI environment variable >Number: 7500 >Category: mod_cgi >Synopsis: [PATCH] Do not canonicalize non-alnum HTTP headers to '_' in CGI environment variable >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Sun Apr 01 13:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 2_0_15-alpha >Organization: apache >Environment: SunOS 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-60 gcc version 2.95.2 19991024 (release).1.9 >Description: Apache (and majority of HTTP servers also I suppose) will squish down CGI-environment variable name's letters to '_' for non-[a-zA-Z_] letters. This will cause "X-Header:" and "X_Header:" (and "X%Header:") HTTP headers all canonicalized to HTTP_X_HEADER, which may be a problem if i.e malicious user could send both headers to circumvent access control. It is not standard comformant to send non-[a-zA-Z_]* HTTP headers, and CGI-spec says nothing about these kind of situation. Handling of such HTTP headers are implementation-dependent. Most developers may not be aware of this, but also may not care about it. If they do, the following patch will expand non-[a-zA-Z_] HTTP header to 'x%02X' form when passing a CGI environment. >How-To-Repeat: * Prepare a CGI script which dumps CGI environment vars (echo "Content-Type: text/html"; echo; exec printenv) * Invoke the CGI script via HTTP with HTTP headers like GET /cgi-bin/printenv HTTP/1.0 X_Header: h1 X-Header: h2 * The result will show only HTTP_X_HEADER=H2 (or H1,depending on implementation). This is NOT a bug; no standard cover this kind of situation and is an implementation dependent behaviour. >Fix: This patch will expand non-[a-zA-Z_]* HTTP headers to 'x%02X' when passing a CGI environment. These kind of handling should be OPTIONAL and those who only care should apply it. diff -u httpd-2_0_15/server/util_script.c.dist httpd-2_0_15/server/util_script.c --- httpd-2_0_15/server/util_script.c.dist Fri Mar 9 20:30:34 2001 +++ httpd-2_0_15/server/util_script.c Sun Apr 1 19:27:09 2001 @@ -97,17 +97,25 @@ static char *http2env(apr_pool_t *a, char *w) { - char *res = apr_pstrcat(a, "HTTP_", w, NULL); - char *cp = res; + char *res,*cp; + apr_size_t olen = strlen(w); + /* the buffer can expand x3 if non-alnum is there */ + cp = res = apr_palloc(a, 5 + olen*3); + strcpy(res, "HTTP_"); cp+=5; - while (*++cp) { - if (!apr_isalnum(*cp) && *cp != '_') { - *cp = '_'; + for (w,cp; *w; w++) { + if (!apr_isalnum(*w)) { + if (*w == '-') { *cp++ = '_'; } + else { + /* don't squish it down unconditionally to '_' */ + cp += sprintf(cp, "x%02X", *w & 255); + } } else { - *cp = apr_toupper(*cp); + *cp++ = apr_toupper(*w); } } + *cp = '\0'; return res; } >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Mon Apr 02 01:20:00 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 92053 invoked by uid 500); 2 Apr 2001 01:20:00 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 92033 invoked by uid 501); 2 Apr 2001 01:20:00 -0000 Resent-Date: 2 Apr 2001 01:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 90603 invoked by uid 501); 2 Apr 2001 01:15:06 -0000 Message-Id:<thorntonjeremy@example.com> Date:2 Apr 2001 01:15:06 -0000 From: David LeBlanc <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: os-windows/7501: Upgrading an Apache Installation on Windows is much harder then it should be. >Number: 7501 >Category: os-windows >Synopsis: Upgrading an Apache Installation on Windows is much harder then it should be. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Apr 01 18:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.19 >Organization: apache >Environment: Windows NT Workstation 4.0sp6a Apache.org pre-compiled binary. >Description: 1. Deleted apache_win32-1.3.17-src.msi to make room for 1.3.19 install. 2. Downloaded apache_win32-1.3.19-src.msi 3. Running 1.3.19 install says that since there is a previous version of Apache installed it can't continue <--- THIS IS BOGUS!!!!!!!!! 4. Run remove app from control panel 5. Can't find apache_win32-1.3.17-src.msi to do removal <- EXTREMELY BOGUS!! 6. DOWNLOAD apache_win32-1.3.17-src.msi to do removal!!!!! 7. Run uninstaller which has to UNPACK 2.8 MB of FILES TO UNINSTALL! swapswapswapswap. 8. Install 1.3.19 - fails to note that it needs to be one level above the intended install directory, so ends up in /apache/apache. Also fails to mention that pre-existing files (conf etc.) will be preserved (aren't they?). Get a lovely "License Error notification" which means nothing to me and is slightly scary - what license??? 9. Uninstall 1.3.19 WHICH HAS TO UNPACK 2.8 MB OF FLIES TO UNINSTALL! 10. Install 1.3.19 which decides this time around to automatically install itself as a service. Get the "License Error Notification" AGAIN. 11. Uninstall 1.3.19 etc. etc. etc. 12. Installed 1.3.19, get license error again. See button that says install standalone only for me... NOT what I thorntonjeremy@example.com. I want to install it to be used by any user, but only manually started. >How-To-Repeat: Do above steps - get frustrated beyond belief! >Fix: YES! 1. Make it so that Apache can install itself over an existing installation if that's what's wanted. (Consider using a rev qualifier on the registry keys to allow parallel installation: apache\1.3.17\whatever, apache\1.3.19\whatever.) 2. Make it so that you don't have to UNPACK 2.8MB OF FILES TO DO UNINSTALL. Consider NOT using MSI if that's what it takes!!!!! Make it so that uninstalling does not require the .msi file (or whatever - but #1 would solve this anyway. 3. Make the installation smart enough to know that if the path ends with "apache" that it's probably a mistake and either fix it or prompt the user with the path you've been told to install to so that they CAN SEE THE GOOF. Display to the user the path and other install options in any case on the "press install" to start installation dialog. 4. Make the install type (service vs. stand-alone) more prominent and also allow the user to install it for all users (which you may have to tell them that they have to have administrator priviledges to do). 5. Get rid of bogus "License Error". NOTE that this claims to be writing some error to the Event Log: it does not, nor is there any text info about the error in the notification dialog. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Mon Apr 02 01:20:01 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 92055 invoked by uid 500); 2 Apr 2001 01:20:00 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 92033 invoked by uid 501); 2 Apr 2001 01:20:00 -0000 Resent-Date: 2 Apr 2001 01:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 90603 invoked by uid 501); 2 Apr 2001 01:15:06 -0000 Message-Id:<thorntonjeremy@example.com> Date:2 Apr 2001 01:15:06 -0000 From: David LeBlanc <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: os-windows/7501: Upgrading an Apache Installation on Windows is much harder then it should be. >Number: 7501 >Category: os-windows >Synopsis: Upgrading an Apache Installation on Windows is much harder then it should be. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Apr 01 18:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.19 >Organization: apache >Environment: Windows NT Workstation 4.0sp6a Apache.org pre-compiled binary. >Description: 1. Deleted apache_win32-1.3.17-src.msi to make room for 1.3.19 install. 2. Downloaded apache_win32-1.3.19-src.msi 3. Running 1.3.19 install says that since there is a previous version of Apache installed it can't continue <--- THIS IS BOGUS!!!!!!!!! 4. Run remove app from control panel 5. Can't find apache_win32-1.3.17-src.msi to do removal <- EXTREMELY BOGUS!! 6. DOWNLOAD apache_win32-1.3.17-src.msi to do removal!!!!! 7. Run uninstaller which has to UNPACK 2.8 MB of FILES TO UNINSTALL! swapswapswapswap. 8. Install 1.3.19 - fails to note that it needs to be one level above the intended install directory, so ends up in /apache/apache. Also fails to mention that pre-existing files (conf etc.) will be preserved (aren't they?). Get a lovely "License Error notification" which means nothing to me and is slightly scary - what license??? 9. Uninstall 1.3.19 WHICH HAS TO UNPACK 2.8 MB OF FLIES TO UNINSTALL! 10. Install 1.3.19 which decides this time around to automatically install itself as a service. Get the "License Error Notification" AGAIN. 11. Uninstall 1.3.19 etc. etc. etc. 12. Installed 1.3.19, get license error again. See button that says install standalone only for me... NOT what I thorntonjeremy@example.com. I want to install it to be used by any user, but only manually started. >How-To-Repeat: Do above steps - get frustrated beyond belief! >Fix: YES! 1. Make it so that Apache can install itself over an existing installation if that's what's wanted. (Consider using a rev qualifier on the registry keys to allow parallel installation: apache\1.3.17\whatever, apache\1.3.19\whatever.) 2. Make it so that you don't have to UNPACK 2.8MB OF FILES TO DO UNINSTALL. Consider NOT using MSI if that's what it takes!!!!! Make it so that uninstalling does not require the .msi file (or whatever - but #1 would solve this anyway. 3. Make the installation smart enough to know that if the path ends with "apache" that it's probably a mistake and either fix it or prompt the user with the path you've been told to install to so that they CAN SEE THE GOOF. Display to the user the path and other install options in any case on the "press install" to start installation dialog. 4. Make the install type (service vs. stand-alone) more prominent and also allow the user to install it for all users (which you may have to tell them that they have to have administrator priviledges to do). 5. Get rid of bogus "License Error". NOTE that this claims to be writing some error to the Event Log: it does not, nor is there any text info about the error in the notification dialog. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Mon Apr 02 09:28:01 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 60933 invoked by uid 500); 2 Apr 2001 09:28:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 60889 invoked by uid 501); 2 Apr 2001 09:28:00 -0000 Date: 2 Apr 2001 09:28:00 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: other/2936: Adding new cygwin32 platform support to core Apache distribution [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Adding new cygwin32 platform support to core Apache distribution State-Changed-From-To: analyzed-closed State-Changed-By: martin State-Changed-When: Mon Apr 2 02:28:00 PDT 2001 State-Changed-Why: Your patch (as sent to new-httpd) was committed for apache_1.3.20 on 04-Apr-2001. Originator-Changed-From-To: thorntonjeremy@example.com@wapme-systems.de Originator-Changed-By: martin Originator-Changed-When: Mon Apr 2 02:28:00 PDT 2001 Release-Changed-From-To: 1.3.6-1.3.20 Release-Changed-By: martin Release-Changed-When: Mon Apr 2 02:28:00 PDT 2001 From thorntonjeremy@example.com Mon Apr 02 16:13:29 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 37953 invoked by uid 500); 2 Apr 2001 16:13:18 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 37920 invoked by uid 501); 2 Apr 2001 16:13:12 -0000 Date: 2 Apr 2001 16:13:12 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: config/7482: two issues with configure [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: two issues with configure State-Changed-From-To: open-closed State-Changed-By: rbb State-Changed-When: Mon Apr 2 09:13:10 PDT 2001 State-Changed-Why: Thank you for the bug report. These have been committed to the CVS tree, and will be available in the next version of Apache From thorntonjeremy@example.com Mon Apr 02 21:31:01 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 65304 invoked by uid 500); 2 Apr 2001 21:30:46 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 65197 invoked by uid 501); 2 Apr 2001 21:30:31 -0000 Date: 2 Apr 2001 21:30:31 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com, thorntonjeremy@example.com, thorntonjeremy@example.com From: thorntonjeremy@example.com Subject: Re: documentation/6330: Setup fails under Windows ME (Millenium Edition) [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Setup fails under Windows ME (Millenium Edition) State-Changed-From-To: analyzed-closed State-Changed-By: wrowe State-Changed-When: Mon Apr 2 14:30:29 PDT 2001 State-Changed-Why: We adopted the Microsoft system installer packaging as of Apache 1.3.14, so these problems have evaporated From thorntonjeremy@example.com Mon Apr 02 21:50:11 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 87709 invoked by uid 500); 2 Apr 2001 21:50:04 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 87690 invoked by uid 501); 2 Apr 2001 21:50:01 -0000 Resent-Date: 2 Apr 2001 21:50:01 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 85954 invoked by uid 501); 2 Apr 2001 21:48:51 -0000 Message-Id:<thorntonjeremy@example.com> Date:2 Apr 2001 21:48:51 -0000 From: Troy Rutter <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: build/7502: Installer runs but will not install >Number: 7502 >Category: build >Synopsis: Installer runs but will not install >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 02 14:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.19 >Organization: apache >Environment: Windows 2000 SP 1, DX 8.0a >Description: Installer runs fine, except when it gets to the point where it is supposed to copy the files. Returns a screen immediately saying: Installation Wizard Interrupted. I have installed older versions no problem. Not sure what could have changed. >How-To-Repeat: >Fix: nope >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Mon Apr 02 21:50:13 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 87725 invoked by uid 500); 2 Apr 2001 21:50:10 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 87690 invoked by uid 501); 2 Apr 2001 21:50:01 -0000 Resent-Date: 2 Apr 2001 21:50:01 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 85954 invoked by uid 501); 2 Apr 2001 21:48:51 -0000 Message-Id:<thorntonjeremy@example.com> Date:2 Apr 2001 21:48:51 -0000 From: Troy Rutter <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: build/7502: Installer runs but will not install >Number: 7502 >Category: build >Synopsis: Installer runs but will not install >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Apr 02 14:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.19 >Organization: apache >Environment: Windows 2000 SP 1, DX 8.0a >Description: Installer runs fine, except when it gets to the point where it is supposed to copy the files. Returns a screen immediately saying: Installation Wizard Interrupted. I have installed older versions no problem. Not sure what could have changed. >How-To-Repeat: >Fix: nope >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Mon Apr 02 22:32:32 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 25681 invoked by uid 500); 2 Apr 2001 22:32:25 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 25665 invoked from network); 2 Apr 2001 22:32:22 -0000 Received: from illustrious.concentric.net (HELO illustrious.cnchost.com) (83.161.120.155) by h31.sny.collab.net with SMTP; 2 Apr 2001 22:32:22 -0000 Received: from www2 ([83.161.120.155]) by illustrious.cnchost.com id SAA00413; Mon, 2 Apr 2001 18:32:26 -0400 (EDT) [ConcentricHost SMTP Relay 1.10] Errors-To: <thorntonjeremy@example.com> Message-ID: <thorntonjeremy@example.com> Reply-To: "William A. Rowe, Jr." <thorntonjeremy@example.com> From: "William A. Rowe, Jr." <thorntonjeremy@example.com> To: <thorntonjeremy@example.com>, <thorntonjeremy@example.com>, <thorntonjeremy@example.com> References: <thorntonjeremy@example.com> Subject: Re: build/7502: Installer runs but will not install Date: Mon, 2 Apr 2001 15:30:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > Windows 2000 SP 1, DX 8.0a > >Description: > Installer runs fine, except when it gets to the point where it is supposed to copy the files. Returns a screen immediately saying: Installation Wizard Interrupted. Please respond with results of the command MSIEXEC /? It will give you an 'error - invalid params' and then display the version. From thorntonjeremy@example.com Mon Apr 02 22:40:04 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 30788 invoked by uid 500); 2 Apr 2001 22:40:02 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 30769 invoked by uid 501); 2 Apr 2001 22:40:00 -0000 Date: 2 Apr 2001 22:40:00 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com Cc: thorntonjeremy@example.com, From: "William A. Rowe, Jr." <thorntonjeremy@example.com> Subject: Re: build/7502: Installer runs but will not install Reply-To: "William A. Rowe, Jr." <thorntonjeremy@example.com> The following reply was made to PR build/7502; it has been noted by GNATS. From: "William A. Rowe, Jr." <thorntonjeremy@example.com> To: <thorntonjeremy@example.com>, <thorntonjeremy@example.com>, <thorntonjeremy@example.com> Cc: Subject: Re: build/7502: Installer runs but will not install Date: Mon, 2 Apr 2001 15:30:52 -0700 > Windows 2000 SP 1, DX 8.0a > >Description: > Installer runs fine, except when it gets to the point where it is supposed to copy the files. Returns a screen immediately saying: Installation Wizard Interrupted. Please respond with results of the command MSIEXEC /? It will give you an 'error - invalid params' and then display the version. From thorntonjeremy@example.com Mon Apr 02 22:40:04 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 30790 invoked by uid 500); 2 Apr 2001 22:40:02 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 30769 invoked by uid 501); 2 Apr 2001 22:40:00 -0000 Date: 2 Apr 2001 22:40:00 -0000 Message-ID: <thorntonjeremy@example.com> To: thorntonjeremy@example.com Cc: thorntonjeremy@example.com, From: "William A. Rowe, Jr." <thorntonjeremy@example.com> Subject: Re: build/7502: Installer runs but will not install Reply-To: "William A. Rowe, Jr." <thorntonjeremy@example.com> The following reply was made to PR build/7502; it has been noted by GNATS. From: "William A. Rowe, Jr." <thorntonjeremy@example.com> To: <thorntonjeremy@example.com>, <thorntonjeremy@example.com>, <thorntonjeremy@example.com> Cc: Subject: Re: build/7502: Installer runs but will not install Date: Mon, 2 Apr 2001 15:30:52 -0700 > Windows 2000 SP 1, DX 8.0a > >Description: > Installer runs fine, except when it gets to the point where it is supposed to copy the files. Returns a screen immediately saying: Installation Wizard Interrupted. Please respond with results of the command MSIEXEC /? It will give you an 'error - invalid params' and then display the version. From thorntonjeremy@example.com Tue Apr 03 06:20:01 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 89604 invoked by uid 500); 3 Apr 2001 06:20:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 89586 invoked by uid 501); 3 Apr 2001 06:20:00 -0000 Resent-Date: 3 Apr 2001 06:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 87525 invoked by uid 501); 3 Apr 2001 06:16:03 -0000 Message-Id:<thorntonjeremy@example.com> Date:3 Apr 2001 06:16:03 -0000 From: Dave Crooke <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: mod_alias/7503: PATCH: RedirectMatch is inconsistent with Redirect >Number: 7503 >Category: mod_alias >Synopsis: PATCH: RedirectMatch is inconsistent with Redirect >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Mon Apr 02 23:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.x >Organization: apache >Environment: Not system specific - tested on Linux 2.2.12 (Red Hat 6.1) and FreeBSD 4.0_RELEASE, both with gcc >Description: The result of a RedirectMatch directive is urlencoded before returning it to the browser. This behaviour is inconsistent with Redirect, and is contrary to the more common use case and most users expectations. A more complete fix would also add a flag to these directives which would dump the inbound querystring. I will colunteer to write this if you would like to include it. >How-To-Repeat: Use the following in httpd.conf RedirectMatch 301 /foo.html /cgi-bin/page.pl?page=foo Redirect 301 /bar.html /cgi-bin/page.pl?page=bar and then try the URLs http://<server>:<port>/foo.html http://<server>:<port>/bar.html The former redirects to http://<server>:<port>/cgi-bin/page.pl%3fpage=foo which is not the common use case. See also GNATS entries 3333, 4379, 5948 which this patch also fixes >Fix: The following diff works against (at least) 1.3.12 through 1.3.19... --- mod_alias-old.c Tue Apr 3 01:18:14 2001 +++ mod_alias.c Mon Apr 2 20:58:47 2001 @@ -304,9 +304,15 @@ if (p->real) { found = ap_pregsub(r->pool, p->real, r->uri, p->regexp->re_nsub + 1, regm); + /* + Patch to allow use of querystrings in RedirectMatch if (found && doesc) { found = ap_escape_uri(r->pool, found); } + */ } else { /* need something non-null */ >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Tue Apr 03 06:20:02 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 89606 invoked by uid 500); 3 Apr 2001 06:20:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 89586 invoked by uid 501); 3 Apr 2001 06:20:00 -0000 Resent-Date: 3 Apr 2001 06:20:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 87525 invoked by uid 501); 3 Apr 2001 06:16:03 -0000 Message-Id:<thorntonjeremy@example.com> Date:3 Apr 2001 06:16:03 -0000 From: Dave Crooke <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: mod_alias/7503: PATCH: RedirectMatch is inconsistent with Redirect >Number: 7503 >Category: mod_alias >Synopsis: PATCH: RedirectMatch is inconsistent with Redirect >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: apache >Arrival-Date: Mon Apr 02 23:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.x >Organization: apache >Environment: Not system specific - tested on Linux 2.2.12 (Red Hat 6.1) and FreeBSD 4.0_RELEASE, both with gcc >Description: The result of a RedirectMatch directive is urlencoded before returning it to the browser. This behaviour is inconsistent with Redirect, and is contrary to the more common use case and most users expectations. A more complete fix would also add a flag to these directives which would dump the inbound querystring. I will colunteer to write this if you would like to include it. >How-To-Repeat: Use the following in httpd.conf RedirectMatch 301 /foo.html /cgi-bin/page.pl?page=foo Redirect 301 /bar.html /cgi-bin/page.pl?page=bar and then try the URLs http://<server>:<port>/foo.html http://<server>:<port>/bar.html The former redirects to http://<server>:<port>/cgi-bin/page.pl%3fpage=foo which is not the common use case. See also GNATS entries 3333, 4379, 5948 which this patch also fixes >Fix: The following diff works against (at least) 1.3.12 through 1.3.19... --- mod_alias-old.c Tue Apr 3 01:18:14 2001 +++ mod_alias.c Mon Apr 2 20:58:47 2001 @@ -304,9 +304,15 @@ if (p->real) { found = ap_pregsub(r->pool, p->real, r->uri, p->regexp->re_nsub + 1, regm); + /* + Patch to allow use of querystrings in RedirectMatch if (found && doesc) { found = ap_escape_uri(r->pool, found); } + */ } else { /* need something non-null */ >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <thorntonjeremy@example.com> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] From thorntonjeremy@example.com Tue Apr 03 11:50:03 2001 Return-Path: <thorntonjeremy@example.com> Delivered-To: thorntonjeremy@example.com Received: (qmail 83869 invoked by uid 500); 3 Apr 2001 11:50:01 -0000 Mailing-List: contact thorntonjeremy@example.com; run by ezmlm Precedence: bulk Reply-To: thorntonjeremy@example.com list-help: <mailto:thorntonjeremy@example.com> list-unsubscribe: <mailto:thorntonjeremy@example.com> list-post: <mailto:thorntonjeremy@example.com> Delivered-To: mailing list thorntonjeremy@example.com Received: (qmail 83850 invoked by uid 501); 3 Apr 2001 11:50:00 -0000 Resent-Date: 3 Apr 2001 11:50:00 -0000 Resent-Message-ID: <thorntonjeremy@example.com> Resent-From: thorntonjeremy@example.com (GNATS Filer) Resent-To: thorntonjeremy@example.com Resent-Cc: thorntonjeremy@example.com Resent-Reply-To: thorntonjeremy@example.com, thorntonjeremy@example.com Received:(qmail 79638 invoked by uid 501); 3 Apr 2001 11:42:14 -0000 Message-Id:<thorntonjeremy@example.com> Date:3 Apr 2001 11:42:14 -0000 From: Gilson Wilson <thorntonjeremy@example.com> Reply-To: thorntonjeremy@example.com To: thorntonjeremy@example.com X-Send-Pr-Version:3.110 Subject: mod_jserv/7504: Having a problem with "Session session=Session.getDefaultInstance(props,null)" in a Servlet using Apache JServ. We are using it as it is a requirement for email, but as a independent Java app works well - does not work when used as a Ser >Number: 7504 >Category: mod_jserv >Synopsis: Having a problem with "Session session=Session.getDefaultInstance(props,null)" in a Servlet using Apache JServ. We are using it as it is a requirement for email, but as a independent Java app works well - does not work when used as a Ser >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 03 04:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: thorntonjeremy@example.com >Release: 1.3.17 >Organization: apache >Environment: Red Hat Linux 7.0 Kernel 2.2.16 with Apache 1.3.17 and Apache JServ and JDK1.3 >Description: We are using a statement like "Session session=Session.getDefaultInstance(props,null)" in a Servlet in order to initialise a mail session. When this is included as an independent Java application, it works - but gives an "Internal Server Error" when used as a Servlet or JSP. /* Session session=Session.getDefaultInstance(props,null); session.setDebug(sessionDebug); try{ Message msg=new MimeMessage(session); msg.setFrom(new InternetAddress(from)); InternetAddress[] address={new InternetAddress(to)}; msg.setRecipients(Message.RecipientType.TO,address); msg.setSubject(subject); msg.setSentDate(new Date()); msg.setContent(messagetext,"text/html"); msg.setText(messagetext); Transport.send(msg); }catch(MessagingException mex){ mex.printStackTrace(); } */ If I uncomment this code, it gives me a "URL not found" - but if I comment this block - the servlet atleast works a bit! >How-To-Repeat: I guess you should try that code snippet
{'source': 'Apache Software Foundation Public Mail Archives'}