Aufgrund einer Schwäche im Parser von locales.pl darf innerhalb eines <input type...
[kivitendo-erp.git] / locale / de / locales.pl
index a655bdc..6fd6e80 100755 (executable)
@@ -361,6 +361,9 @@ sub scanfile {
   my $dont_include_subs = shift;
   my $scanned_files = shift;
 
+  # sanitize file
+  $file =~ s=/+=/=g;
+
   $scanned_files = {} unless ($scanned_files);
   return if ($scanned_files->{$file});
   $scanned_files->{$file} = 1;