Skip Menu |

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

Report information
The Basics
Id: 17077
Status: resolved
Priority: 0/
Queue: Net-DAV-Server

People
Owner: BRONG [...] cpan.org
Requestors: cpan [...] clotho.com
Cc:
AdminCc:

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



Subject: Uninitialized $overwrite value in copy()
When conecting to Net::DAV::Server with Apple's 10.4 DAV client, I get the following warning during a file copy: Use of uninitialized value in string eq at /Users/chris/perl/lib/Net/DAV/Server.pm line 237. The simple fix is to change that line from: if ($overwrite eq 'F' && $fs->test("e", $destdir)) { to: if ($overwrite && $overwrite eq 'F' && $fs->test("e", $destdir)) { or to change the initialization of $overwrite to have a fallback value. --Chris
Hi - I have resolved this issue in 1.29 which is just uploading now.