We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31955
    • 84 Posts
    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".
      • 31601
      • 57 Posts
      I know this is an old topic, but wanted to say that this is NOT fixed in Evolution 1.0.0 RC1
      • Quote from: virgil at Jun 21, 2009, 02:57 PM

        I know this is an old topic, but wanted to say that this is NOT fixed in Evolution 1.0.0 RC1
        Thanks for bumping this - I have just submitted the fix for this into SVN smiley
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
          • 4310
          • 2,310 Posts
          Thank Garry smiley
            • 31601
            • 57 Posts
            Glad to help out the team in any way possible!