2011-04-18 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Added a 'base64_encode' to deal with html entities in collection's files Fix: #3286063 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2e3c56cc9e
commit
08ca243c95
|
@ -1,3 +1,10 @@
|
|||
2011-04-18 Javier Lanz <javier.lanz@artica.es>
|
||||
|
||||
* include/functions_filemanager.php: Added a 'base64_encode' to deal with
|
||||
html entities in collection's files
|
||||
|
||||
Fix: #3286063
|
||||
|
||||
2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_graph.php, godmode/reporting/graph_builder.preview.php:
|
||||
|
|
|
@ -579,7 +579,7 @@ function file_explorer($real_directory, $relative_directory, $url, $father = '',
|
|||
}
|
||||
else {
|
||||
$hash = md5($fileinfo['url'] . $config['dbpass']);
|
||||
$data[1] = '<a href="include/get_file.php?file='.$fileinfo['url'].'&hash=' . $hash . '">'.$fileinfo['name'].'</a>';
|
||||
$data[1] = '<a href="include/get_file.php?file='.base64_encode($fileinfo['url']).'&hash=' . $hash . '">'.$fileinfo['name'].'</a>';
|
||||
}
|
||||
$data[2] = ui_print_timestamp ($fileinfo['last_modified'], true,
|
||||
array ('prominent' => true));
|
||||
|
|
Loading…
Reference in New Issue