Quote from: bunk58 at Jan 17, 2009, 02:12 PM
I’ve had a quick look at manager/actions/files.dynamic.php
[...]
onclick="viewfile(\''.urlencode($webstart_path.substr($newpath, $len, strlen($newpath))).'\');
to
onclick="viewfile(\''.$webstart_path.substr($newpath, $len, strlen($newpath)).'\');
seems to fix the problem, looks as if urlencode was added for 0.9.6.3
[...]
I’ve added this in the JIRA.
As I reported here:
http://modxcms.com/forums/index.php/topic,32182.msg200649.html#msg200649 I had another quite similar issue with the Filemanager. It was also related to urlencode.
within manager/actions/files.dynamic.php, there is another occurence of
.urlencode($webstart_path.substr($newpath, $len, strlen($newpath))).
which has to be replaced by
.$webstart_path.substr($newpath, $len, strlen($newpath)).
it’s near "images/misc/ed_save.gif".