Skip to content
Snippets Groups Projects
Commit 248e097f authored by Bart Visscher's avatar Bart Visscher
Browse files

Merge pull request #1974 from owncloud/use-rawurlencode

OC6- Just use rawurlencode in files list template
parents 797b529d ab5e20a2
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@
// the older the file, the brighter the shade of grey; days*14
$relative_date_color = round((time()-$file['mtime'])/60/60/24*14);
if($relative_date_color>200) $relative_date_color = 200;
$name = str_replace('+', '%20', urlencode($file['name']));
$name = rawurlencode($file['name']);
$name = str_replace('%2F', '/', $name);
$directory = str_replace('+', '%20', urlencode($file['directory']));
$directory = rawurlencode($file['directory']);
$directory = str_replace('%2F', '/', $directory); ?>
<tr data-id="<?php p($file['fileid']); ?>"
data-file="<?php p($name);?>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment