Received: (qmail 34837 invoked by uid 501); 15 Feb 2001 23:25:52 -0000 Message-Id: <20010215232552.34836.qmail@apache.org> Date: 15 Feb 2001 23:25:52 -0000 From: Daniel Good Reply-To: dg@about-inc.com To: submit@bugz.apache.org Subject: 2 byte fix for broken map expansion X-Send-Pr-Version: 3.110 >Number: 7253 >Category: mod_rewrite >Synopsis: 2 byte fix for broken map expansion >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 15 15:30:02 PST 2001 >Closed-Date: Thu Feb 15 16:12:46 PST 2001 >Last-Modified: Thu Feb 15 16:12:46 PST 2001 >Originator: dg@about-inc.com >Release: 1.3.17 >Organization: >Environment: FBSD and linux >Description: line 2290 of mod_rewrite.c: in do_expand(), find_char_in_brackets() is called with first argument of inp. Should be inp+2. Is: key = find_char_in_brackets(inp, ':', '{', '}'); Should be: key = find_char_in_brackets(inp+2, ':', '{', '}'); >How-To-Repeat: most, if not all, map expansions should fail >Fix: see description >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: wrowe State-Changed-When: Thu Feb 15 16:12:45 PST 2001 State-Changed-Why: This change was already applied for the upcoming 1.3.18 release - thank you for finding the bug, and your interest in the apache httpd project! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include 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! ]