getLocalPath uses forward slashes to construct the local file path for a file, then does a substring check against the real upload directory. On Windows, this directory contains backslashes, so the check fails and the function returns an empty string
getLocalPath
uses forward slashes to construct the local file path for a file, then does a substring check against the real upload directory. On Windows, this directory contains backslashes, so the check fails and the function returns an empty stringFixed in PR #636