From 72c0d6968ebb474d731586417cdfeef2ef54f7d2 Mon Sep 17 00:00:00 2001
From: Bartek Przybylski <bart.p.pl@gmail.com>
Date: Fri, 27 Apr 2012 22:47:24 +0200
Subject: [PATCH] fix duplicated entries on upload

---
 apps/files/ajax/upload.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index c60e1a3752..3ac8ef5956 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -31,7 +31,6 @@ foreach ($_FILES['files']['error'] as $error) {
 $files=$_FILES['files'];
 
 $dir = $_POST['dir'];
-$dir .= '/';
 $error='';
 
 $totalSize=0;
-- 
GitLab