Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43C984A85 for ; Thu, 19 May 2011 20:07:18 +0000 (UTC) Received: (qmail 30940 invoked by uid 500); 19 May 2011 20:07:18 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 30829 invoked by uid 500); 19 May 2011 20:07:17 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 30821 invoked by uid 99); 19 May 2011 20:07:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 20:07:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bw0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 20:07:11 +0000 Received: by bwz2 with SMTP id 2so3059141bwz.37 for ; Thu, 19 May 2011 13:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=9hWZ+RIQAm6Cn0TsiqIK2sKBXAuQy0fCGStlaG4rFoM=; b=nTXRYb89ofi3PTzPwaJDk6NZmJ00jKWfLrFD/IKvnvd6xmITgbrq+pNBsscUono4jt UYvJRsiiEhOzqldDiX5M8OD5WJIqWj4yK7OfTdqm+2vj4vlqBqXbOxvsnjGDBRYN2LQ6 /J4TqyuqBDqp7zTJmN0Ha9muGD9rLCEUnkaeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IINaIkUUzH4Xzza8yWvxn0ax+a9uJ22MZJz48m2gd8KPwSeFbf/0CDrECwX2V5wePk v6320cZ2NuO5lOTgtuCt0flJW3bVvLds/VcN88/b4Ey17EU3lgo+Aqu6ZlWBclhDZ4mJ jKiaaX8ZGsFgmRqqdN0/1FjFDYR+nNeCImwcA= MIME-Version: 1.0 Received: by 10.204.156.22 with SMTP id u22mr3252281bkw.9.1305835611123; Thu, 19 May 2011 13:06:51 -0700 (PDT) Received: by 10.204.59.212 with HTTP; Thu, 19 May 2011 13:06:51 -0700 (PDT) In-Reply-To: <4DD55C71.2080106@rowe-clan.net> References: <4DD3F433.1070809@apache.org> <20110518203550.GA4495@redhat.com> <4DD42FB7.9060609@rowe-clan.net> <20110518205510.GB4495@redhat.com> <4DD435F7.60901@rowe-clan.net> <20110519145343.GA4202@redhat.com> <4DD559C7.1000704@rowe-clan.net> <4DD55C71.2080106@rowe-clan.net> Date: Thu, 19 May 2011 16:06:51 -0400 Message-ID: Subject: Re: Fwd: DO NOT REPLY [Bug 51219] New: apr_fnmatch infinite loop on pattern "/*/WEB-INF/" From: Jeff Trawick To: dev@apr.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, May 19, 2011 at 2:07 PM, William A. Rowe Jr. wrote: > On 5/19/2011 12:56 PM, William A. Rowe Jr. wrote: >> [moving from embargoed to open discussion] >> >> On 5/19/2011 9:53 AM, Joe Orton wrote: >> >>> b) glibc does not match the pattern "\/" against "/" with FNM_PATHNAME >>> set, but APR does: >>> >>> 0000000052585e22 apr_fnmatch(".*\//", ".//", 2) =3D 0, glibc=3D1 >> >> Do we want to change this behavior? =A0We must still be careful of the >> special meaning of '/' but we can force a mismatch by dropping the >> logic at line 218-219, which quietly ignores the leading backslash. >> Other tests for \/ must remain. > > I would argue to keep our behavior, based on typical shell behavior; > > $ ls lib\/.svn > > tab completion or pressing enter here both work just fine, and this > should be reflected by our APR_FNM_PATHNAME behavior as well. BTW, where are we on the 1.4.5-readiness front? Things have been a bit hectic here and I may have missed something.