Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed stripslashes_deep() call so that it doesn't strip the slashes from the $_FILES array, which will mangle paths on windows filesystems. #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Vex
Copy link

@Vex Vex commented Jan 27, 2017

On windows server's the $_FILES array contains the path to the file, with slashes '', these slashes get removed by the stripslashes_deep() call, which makes the path to the file meaningless, and results in the plugin being unable to upload the file.

Vex added 3 commits January 26, 2017 17:34
Removed stripslashes_deep() call from $_FILES superglobal to ensure pathnames for temporary files don't get mangled on windows servers.
Removed stripslashes_deep() call from $_FILES superglobal to ensure pathnames for temporary files don't get mangled on windows servers.
Removed stripslashes_deep() call from $_FILES superglobal to ensure pathnames for temporary files don't get mangled on windows servers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant