From owner-freebsd-perl@FreeBSD.ORG Wed Mar 25 21:51:14 2015 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF9A4A8 for ; Wed, 25 Mar 2015 21:51:14 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C7F6934 for ; Wed, 25 Mar 2015 21:51:14 +0000 (UTC) Received: by wgs2 with SMTP id 2so43446340wgs.1 for ; Wed, 25 Mar 2015 14:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=gM9mkTsQc2Vzx7qynMH++gxOpGMuGCtyYXohs9QtTeU=; b=pJneCIOY8hg97Q7nyFulHJ5yiT0gyt+vkjOM+KBqanXLyRKP+c2J9sQVQEFtrV9JJH 6qOTu9D+7I8ZyzM6fEp93XoJBDpDfSKT2CxP9r8GMjpl/hGv9qOTwdf+si0WSXwBTd6f sBZKXsrQMoxoSsvtUot1UEfBXmTaILp0YapnAMj6akqr4hwBJXQ/bTOUOdn+laB5bcbh yjnLWZuuMRi+45VNFqwYT/HI3i2ioN02AlM37lYgZAD5xfMf2/eqI8RnWjufEkcvmn6L vB24nSlMaQlSxB1TtypzHmDkTYl2wX/gtYyKKMOfYG9EgEznv+OQihGaAea7+vrzDSjO 1vtw== X-Received: by 10.181.12.79 with SMTP id eo15mr12191122wid.23.1427320272895; Wed, 25 Mar 2015 14:51:12 -0700 (PDT) Received: from manzana.hws.homeip.net ([2001:470:b71d:0:225:ff:fef2:447f]) by mx.google.com with ESMTPSA id jt8sm22444877wid.4.2015.03.25.14.51.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 14:51:12 -0700 (PDT) Message-ID: <55132DCE.80806@gmail.com> Date: Wed, 25 Mar 2015 22:51:10 +0100 From: andreas scherrer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: perl@freebsd.org Subject: Fwd: Fwd: Correction to regex in ResourceList.pm (HTTP::DAV) References: <4F8F2357.2070506@gmail.com> In-Reply-To: <4F8F2357.2070506@gmail.com> X-Forwarded-Message-Id: <4F8F2357.2070506@gmail.com> Content-Type: multipart/mixed; boundary="------------000805090201050502040800" X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 21:51:15 -0000 This is a multi-part message in MIME format. --------------000805090201050502040800 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To whom it may concern. -------- Forwarded Message -------- Subject: Fwd: Correction to regex in ResourceList.pm (HTTP::DAV) Date: Wed, 18 Apr 2012 22:25:59 +0200 From: andreas scherrer To: pcollins@cpan.org Dear Patrick Collins As I believe this problem persists I have created a small patch. Kind regards andreas scherrer -------- Original Message -------- Subject: Correction to regex in ResourceList.pm (HTTP::DAV) Date: Mon, 20 Feb 2012 21:59:20 +0100 From: andreas scherrer To: pcollins@cpan.org Dear Patrick Collins I am writing to you because you are listed as the author of HTTP::DAV on CPAN. I believe the regex in the following lines of ResourceList.pm in the HTTP:DAV module should *not* have the "g" flag at the end (line 160 in my (older) version): $r =~ s/\/*$/\//g; # Add a trailing slash $u =~ s/\/*$/\//g; # Add a tailing slash See http://stackoverflow.com/q/9353836/254868 for an explanation why. Kind regards andreas scherrer -- People who push both buttons should get their wish. --------------000805090201050502040800 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="ResourceList.pm.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ResourceList.pm.patch" LS0tIC91c3IvbG9jYWwvbGliL3Blcmw1L3NpdGVfcGVybC81LjE0LjIvSFRUUC9EQVYvT1JJ R0lOQUxfUmVzb3VyY2VMaXN0LnBtCTIwMTItMDQtMTggMjE6NDQ6NTkuMDAwMDAwMDAwICsw MjAwCisrKyAvdXNyL2xvY2FsL2xpYi9wZXJsNS9zaXRlX3BlcmwvNS4xNC4yL0hUVFAvREFW L1Jlc291cmNlTGlzdC5wbQkyMDEyLTA0LTE4IDIxOjQ2OjE0LjAwMDAwMDAwMCArMDIwMApA QCAtMTU2LDggKzE1Niw4IEBACiAgICAgICAgICAjIGUuZy4gdT0vYSAgcj0vYS9iL2MudHh0 CiAgICAgICAgICBteSAkciA9ICRyZXNvdXJjZV91cmktPmNhbm9uaWNhbCgpOwogICAgICAg ICAgbXkgJHUgPSAkdXJsLT5jYW5vbmljYWwoKTsKLSAgICAgICAgICRyID1+IHMvXC8qJC9c Ly9nOyAjIEFkZCBhIHRyYWlsaW5nIHNsYXNoCi0gICAgICAgICAkdSA9fiBzL1wvKiQvXC8v ZzsgIyBBZGQgYSB0YWlsaW5nIHNsYXNoCisgICAgICAgICAkciA9fiBzL1wvKiQvXC8vOyAj IEFkZCBhIHRyYWlsaW5nIHNsYXNoCisgICAgICAgICAkdSA9fiBzL1wvKiQvXC8vOyAjIEFk ZCBhIHRhaWxpbmcgc2xhc2gKICAgICAgICAgIGlmICgkdSA9fiAvXFEkci8gKSB7CiAKICAg ICAgICAgICAgIG15IEBsb2NrcyA9ICRyZXNvdXJjZS0+Z2V0X2xvY2tzKC1vd25lZD0+JG93 bmVkKTsKCg== --------------000805090201050502040800--