X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FCommon.pm;h=9c83c7d174de0b2cce7dbd5bf733f03da22f8b87;hb=82a9544a39aba6a691653c379c92b390c0733edb;hp=fdf2b28088c6528457ab2ad2efd5974c4019c243;hpb=480c67096c7aab3ccfe6b55e8d981975c7f08578;p=kivitendo-erp.git diff --git a/SL/Common.pm b/SL/Common.pm index fdf2b2808..9c83c7d17 100644 --- a/SL/Common.pm +++ b/SL/Common.pm @@ -280,6 +280,8 @@ sub webdav_folder { return $main::lxdebug->leave_sub() unless ($path && $number); + $number =~ s|[/\\]|_|g; + $path = "webdav/${path}/${number}"; if (!-d $path) {