From 8626a95d5b7c1a13b53ac8d3d486bf62be149885 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Jun 2007 08:53:22 +0000 Subject: [PATCH] Webdav-Feature: Pfadtrennzeichen aus den Nummern (Angebotsnummer, Rechnungsnummer etc) entfernen. --- SL/Common.pm | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.20.1