Skip to content
Snippets Groups Projects
Commit af84da31 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

OwncloudFolder::copyFile: removed URL encoding from file name, re #18

parent e26fd577
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ class OwncloudFolder extends VirtualFolderType { ...@@ -159,7 +159,7 @@ class OwncloudFolder extends VirtualFolderType {
$tmp_parts = explode('/', $file_ref_id); $tmp_parts = explode('/', $file_ref_id);
$name = end($tmp_parts); $name = rawurldecode(end($tmp_parts));
if ($this->fileExists($name)) { if ($this->fileExists($name)) {
if (strpos($name, ".")) { if (strpos($name, ".")) {
$end = substr($name, strpos($name, ".")); $end = substr($name, strpos($name, "."));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment