Index: branches/5.3.x/core/units/helpers/file_helper.php =================================================================== diff -u -N -r15698 -r15902 --- branches/5.3.x/core/units/helpers/file_helper.php (.../file_helper.php) (revision 15698) +++ branches/5.3.x/core/units/helpers/file_helper.php (.../file_helper.php) (revision 15902) @@ -1,6 +1,6 @@ CheckFolder($parent_path); if ($result) { @@ -386,6 +386,8 @@ public function pathToUrl($url) { $url = str_replace(DIRECTORY_SEPARATOR, '/', preg_replace('/^' . preg_quote(FULL_PATH, '/') . '(.*)/', '\\1', $url, 1)); + + // TODO: why? $url = implode('/', array_map('rawurlencode', explode('/', $url))); return rtrim($this->Application->BaseURL(), '/') . $url;