Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 76488 invoked by uid 500); 28 Oct 2000 03:06:24 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 76475 invoked by uid 500); 28 Oct 2000 03:06:24 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 28 Oct 2000 03:06:23 -0000 Message-ID: <20001028030623.76469.qmail@locus.apache.org> From: fanf@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/modules/standard mod_rewrite.c fanf 00/10/27 20:06:23 Modified: src/modules/standard mod_rewrite.c Log: Don't truncate the string if a RewriteMap lookup has a syntax error. Submitted by: erik quanstrom Revision Changes Path 1.47 +1 -0 apache-2.0/src/modules/standard/mod_rewrite.c Index: mod_rewrite.c =================================================================== RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_rewrite.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -u -r1.46 -r1.47 --- mod_rewrite.c 2000/10/24 11:38:06 1.46 +++ mod_rewrite.c 2000/10/28 03:06:22 1.47 @@ -2345,6 +2345,7 @@ char *empty = ""; key = strchr(inp, ':'); if (key == NULL) { + *endp = '}'; goto skip; } *key++ = '\0';