Skip Menu |

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

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

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

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



Subject: Directories rendering as files in some DAV clients.
In Windows Explorer DAV client, directories wouldn't actually render as such unless they had a trailing / on the link. I hope you don't mind, I only have one more patch to give you after this. Most of my patches are based on concepts to align closer to mod_dav's behavior based on packet dumps and test cases.
Subject: NDS-directory-01.patch
=== local/Net-DAV-Server/lib/Net/DAV/Server.pm ================================================================== --- local/Net-DAV-Server/lib/Net/DAV/Server.pm (revision 4000) +++ local/Net-DAV-Server/lib/Net/DAV/Server.pm (local) @@ -447,6 +447,7 @@ ) ); $resp->addChild($href); + $href->appendText( '/' ) if $fs->test('d', $path); my $okprops = $doc->createElement('D:prop'); my $nfprops = $doc->createElement('D:prop'); my $prop;
I certainly don't mind. Thankyou. Combining these with a few of my own patches we should be shaping up for a good release! Thanks, Bron.
Your patch has been applied in 1.29