Received: (qmail 76796 invoked by uid 501); 9 Mar 2002 21:55:26 -0000 Message-Id: <20020309215526.76795.qmail@apache.org> Date: 9 Mar 2002 21:55:26 -0000 From: Peter Bieringer Reply-To: pb@bieringer.de To: submit@bugz.apache.org Subject: Log message: unable to compile pattern "^[0" X-Send-Pr-Version: 3.110 >Number: 10108 >Category: mod_include >Synopsis: Log message: unable to compile pattern "^[0" >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Mar 09 14:00:01 PST 2002 >Closed-Date: Wed Mar 13 12:48:20 PST 2002 >Last-Modified: Wed Mar 13 12:48:20 PST 2002 >Originator: pb@bieringer.de >Release: 2.0.32 >Organization: >Environment: Linux 2.4.17-0.18 #1 Mon Feb 18 08:06:05 EST 2002 i586 unknown >Description: Since update from 2.0.28 to 2.0.32 following message occurs in log: unable to compile pattern "^[0" perhaps caused by SSI string: /^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/ (Match an IPv4 address) >How-To-Repeat: Try yourself in an SSI page >Fix: No, but looks like SSI is broken, like mentioned in an e-mail, SSI on "/" don't work and also not on Multiview pages... ...2.0.28 worked fine. >Release-Note: >Audit-Trail: From: Jeff Trawick To: pb@bieringer.de Cc: apbugs@apache.org Subject: mod_include/10108: Log message: unable to compile pattern "^[0" Date: 13 Mar 2002 13:21:15 -0500 (make that apbugs@apache.org) Peter: I don't know much about SSI documents but I do know how to debug. It would save me a lot of time if you could send me a small SSI document which uses your regular expression and which exhibits the problem. Please copy apbugs.apache.org so that the information is available to other people in the event that I am unable to work on the problem. Thanks! From: Peter Bieringer To: Jeff Trawick Cc: apbugs@apache.org Subject: Re: mod_include/10108: Log message: unable to compile pattern "^[0" Date: Wed, 13 Mar 2002 20:03:40 -0500 --==========1813659384========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, --On Wednesday, March 13, 2002 01:21:15 PM -0500 Jeff Trawick wrote: > (make that apbugs@apache.org) > > Peter: > > I don't know much about SSI documents but I do know how to debug. > It would save me a lot of time if you could send me a small SSI > document which uses your regular expression and which exhibits the > problem. Please copy apbugs.apache.org so that the information is > available to other people in the event that I am unable to work on > the problem. Attached you'll find the shtml doc containing some SSI regex. Working fine on beta28, causing trouble in beta32 Peter --==========1813659384========== Content-Type: application/octet-stream; name="ipv6info.shtml.en" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ipv6info.shtml.en"; size=1361 WW91IHByb3ZpZGUgZm9sbG93aW5nIGluZm9ybWF0aW9uOjxicj4KSFRUUF9VU0VSX0FHRU5UPTwh LS0jZWNobyB2YXI9IkhUVFBfVVNFUl9BR0VOVCIgLS0+PGJyPgpSRU1PVEVfQUREUj08IS0tI2Vj aG8gdmFyPSJSRU1PVEVfQUREUiIgLS0+PGJyPgpZb3VyIGNvbm5lY3Rpb24gaXMgdmlhOiAKPCEt LSNpZiBleHByPSIkUkVNT1RFX0FERFIgPSAvXjo6ZmZmZjpbMC05XXsxLDN9XC5bMC05XXsxLDN9 XC5bMC05XXsxLDN9XC5bMC05XXsxLDN9JC8iIC0tPgo8Yj5JUHY0PC9iPiAobWFwcGVkIGluIElQ djYpCjwhLS0jZWxpZiBleHByPSIkUkVNT1RFX0FERFIgPSAvXlswLTldezEsM31cLlswLTldezEs M31cLlswLTldezEsM31cLlswLTldezEsM30kLyIgLS0+CjxiPklQdjQ8L2I+CjwhLS0jZWxzZSAt LT4KPGI+SVB2NjwvYj4KICA8IS0tI2lmIGV4cHI9IiRSRU1PVEVfQUREUiA9IC9eMjAwMjovIiAt LT4oNnRvNCBhZGRyZXNzIHNwYWNlKQogIDwhLS0jZWxpZiBleHByPSIkUkVNT1RFX0FERFIgPSAv XjIwMDE6LyIgLS0+KHByb2R1Y3Rpb24gYWRkcmVzcyBzcGFjZSkKICA8IS0tI2VsaWYgZXhwcj0i JFJFTU9URV9BRERSID0gL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From-To: open-closed State-Changed-By: trawick State-Changed-When: Wed Mar 13 12:48:20 PST 2002 State-Changed-Why: This problem has been fixed and will be in the next release of Apache 2.0. Here is the patch that fixes the problem: http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/filters/mod_include.c.diff?r1=1.196&r2=1.197 There have been a number of changes to mod_include since 2.0.32. I don't know how difficult it would be to apply the patch to 2.0.32. Thanks for your report, and thanks for using Apache 2.0! >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! ]