fl4p / WP-Filebase

WP-Filebase
http://wpfilebase.com/
34 stars 36 forks source link

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 Vex opened 7 years ago

Vex commented 7 years ago

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.