• Resolved Corey Worrell

    (@coreyw)


    Hi, we are noticing on a few of our sites that when you select the second option to replace all links to image on site, that it will sometimes fail with the message:

    Specificed directory is outside the upload directory. This is not allowed for security reasons

    It looks like this is coming from setNewTargetLocation() method in classes/replacer.php on line 345.

    I’m thinking this may have something to do with the fact that our uploads folder is symlinked. We have our site setup similar to a Roots site, so the uploads folder is symlinked to a shared folder across deployments. I’m thinking maybe the call to realpath() is resolving the symlink or something and then EMR thinks it is outside of the upload directory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi Corey,

    Could you please provide us with the following information:

    • Screenshots or even better, a screen recording that show the issue in action. If possible, please include relevant links as well.
    • Your site information. Please navigate to Tools > Site Health > Info, click on the “Copy site info to clipboard” button and paste the information in your reply.
    • Can you please install this version on top of the existing 4.1.0 version and check if the issue is solved?

    Thank you,

    Plugin Author Pedro

    (@petredobrescu)

    This should be resolved by version 4.1.1, which was just released. If you still encounter issues, please re-open this thread.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specified directory is outside the upload directory’ is closed to new replies.