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;