Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 86437 invoked from network); 8 Mar 2005 21:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Mar 2005 21:52:07 -0000 Received: (qmail 33977 invoked by uid 500); 8 Mar 2005 21:52:06 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 33945 invoked by uid 500); 8 Mar 2005 21:52:06 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 33930 invoked by uid 99); 8 Mar 2005 21:52:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 13:52:04 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j28Lq1CD005608 for ; Tue, 8 Mar 2005 22:52:01 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j28Lq16j005606; Tue, 8 Mar 2005 22:52:01 +0100 Date: Tue, 8 Mar 2005 22:52:01 +0100 Message-Id: <200503082152.j28Lq16j005606@ajax.apache.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 33892] - escape char ( \) in regexps in SSI exprs is automatically doubled. X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33892 ------- Additional Comments From nd@perlig.de 2005-03-08 22:52 ------- Nah, seems a misunderstanding here. For the *regex engine* you don't need to escape the slash at all. It's the context, which insists on it (like in perl). The delimiter of the regex is a slash (ehm, two slashes, one left, one right). The problem, you've experienced is, that the httpd 1.3 parser actually doesn't care about the right slash (it just drops it, if it exists) -- I've glanced over the relevant code snippet in 1.3 ;-). The 2.x parser is way more consistent (like the perl one) and looks for the next unescaped slash. Thatswhy all slashes which are not meant as delimiters must be escaped - regardless of their meaning for the regex engine. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org