From a443a41279bc4a3979be054697441294d3ec2f87 Mon Sep 17 00:00:00 2001 From: ywarnier Date: Tue, 23 Aug 2011 20:14:30 -0500 Subject: [PATCH] Removed transformation of dots to _ in directories creation, as it generated problems with old systems having directories with dots. This makes it more backwards-compatible with d0keos 1.5 than even d0keos itself :-D --- main/document/document.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/document/document.php b/main/document/document.php index fa9a3486e6..1449d90008 100755 --- a/main/document/document.php +++ b/main/document/document.php @@ -715,11 +715,6 @@ if ($is_allowed_to_edit || $group_member_with_upload_rights || is_my_shared_fold $added_slash = ($curdirpath == '/') ? '' : '/'; $dir_name = $curdirpath.$added_slash.replace_dangerous_char($post_dir_name); $dir_name = disable_dangerous_file($dir_name); - $dir_name = str_replace('.', '_', $dir_name); - - //@todo why the folder name can't have a dot. It's just the folder name - $post_dir_name = str_replace('.', '_', $post_dir_name); - $dir_check = $base_work_dir.$dir_name; if (!is_dir($dir_check)) {