• Resolved Dave

    (@davehtest)


    I enabled the new option in your plugin “Prevent code execution in the public ‘Uploads’ folder” without realizing it would break the functionality of the custom code plugin I am using.
    I disabled it as soon as I realized what it was doing but now I am still unable to use this plugin to modify my code.

    When the option is disabled in your plugin, it is not reversing whatever it implemented when it was first enabled.

    When something is turned off, it should be off.

    I spent all night trying to figure out why my code was not working, only to finally open up the code file this morning to realize it had never been updated, because of what your plugin has done and not reversed.

    I need to know how to fix this and you need to fix your plugin ASAP so that other people are not effected by this problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Thanks for reporting your issue. This function adds a htaccess file (if it’s it already there) + rule to the uploads folder, if disabled it should remove it of course, we’ll check if we can reproduce the issue.

    If you go to the uploads folder, please remove

    Files *.php>
    deny from all
    </Files>

    From the htaccess file. Or if there’s nothing else in it you can remove it entirely.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @davehtest I’ve just tested deactivating this setting, the above lines are removed on deactivation, so I can’t reproduce the issue at the moment. I also checked if it could accidentally remove existing rules, but with the rules I tested this worked correctly.

    This settings doesn’t do anything other than adding this line in the .htaccess, so if this caused an issue and removing those lines doesn’t help, can you post some more info on the custom code? Does it also include some .htaccess in the uploads folder? If so, can you post that code so I can test with that specific code as well?

    Thread Starter Dave

    (@davehtest)

    Hi, no my code does not add any .htaccess.
    It is just some simple javascript to add and remove classes on scroll.

    I have gone in and manually removed the code you mentioned and that has fixed the problem.

    Resolved for now I guess, but the ability to send files to the upload folder was definitely not working even with the option disabled in your apps settings.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Glad this resolved the issue. We will run some more tests to see if we can reproduce it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uploads Folder’ is closed to new replies.