Webdav Links relativ statt absolut, sonst gibt es Probleme bei anderen Ports.
[kivitendo-erp.git] / 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'),
         };
       }