Webdav Links relativ statt absolut, sonst gibt es Probleme bei anderen Ports.
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jan 2010 16:28:50 +0000 (17:28 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 14 Jan 2010 16:41:29 +0000 (17:41 +0100)
SL/Common.pm

index 7462d8b..664bc6a 100644 (file)
@@ -388,7 +388,7 @@ sub webdav_folder {
 
         push @{ $form->{WEBDAV} }, {
           'name' => $fname,
-          'link' => ($ENV{"HTTPS"} ? "https://" : "http://") . $ENV{'SERVER_NAME'} . "/$base_path/$file",
+          'link' => "/$base_path/$file",
           'type' => $is_directory ? $main::locale->text('Directory') : $main::locale->text('File'),
         };
       }