Yes, () in uploaded files too.
authorSteinar H. Gunderson <sesse@debian.org>
Thu, 26 Jul 2007 00:14:04 +0000 (02:14 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Thu, 26 Jul 2007 00:14:04 +0000 (02:14 +0200)
perl/Sesse/pr0n/WebDAV.pm

index fe599303220f919f2a632c427dcab4a0a7c5d2ee..9d579496c40fe922c3175a6daa1cf8f5b7f5be42 100644 (file)
@@ -247,7 +247,7 @@ EOF
 EOF
        
                        return Apache2::Const::OK;
-               } elsif ($r->uri =~ m#^/webdav/upload/([a-zA-Z0-9-]+)/([a-zA-Z0-9._-]+)$#) {
+               } elsif ($r->uri =~ m#^/webdav/upload/([a-zA-Z0-9-]+)/([a-zA-Z0-9._()-]+)$#) {
                        # stat a single file
                        my ($event, $filename) = ($1, $2);
                        my ($fname, $size, $mtime);