jmstacey and I discovered that the current implementation of mkdir() for stream wrapper that is in core fails when you try recursive directory creation - hence the File APi conversion cannot work without this quick fix.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | recursive-fix-547412-3.patch | 1.04 KB | pwolanin |
| recursive-fix.patch | 925 bytes | pwolanin |
Comments
Comment #1
jmstacey commentedLooks good.
Comment #2
pwolanin commentedby which jmstacey means he tested it and it fixes the bug :)
Comment #3
pwolanin commentedminor changes suggested by Dries
Comment #4
pwolanin commentedactually, this is not an issue yet, since the current core implementation of getLocalPath() doesn't have the realpath() check
this fix will jsut be included in http://drupal.org/node/517814