Skip Menu |

This queue is for tickets about the HTTP-DAV CPAN distribution.

Report information
The Basics
Id: 103126
Status: resolved
Priority: 0/
Queue: HTTP-DAV

People
Owner: Nobody in particular
Requestors: ascherrer [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Correction to regex in ResourceList.pm (HTTP::DAV)
Date: Thu, 26 Mar 2015 08:22:11 +0100
To: bug-HTTP-DAV [...] rt.cpan.org
From: Andreas Scherrer <ascherrer [...] gmail.com>
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 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. I am running on Freebsd 10.1 with perl 5.18. But the issue exists for a long time, I first tried to report it in February 2012. Kind regards andreas scherrer
I can only apologise for the super long time this has taken, but 0.48 (containing the fix) has now been pushed out to CPAN. Thanks!