Closed (fixed)
Project:
Drupal core
Component:
file system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
16 May 2005 at 22:40 UTC
Updated:
31 May 2005 at 21:15 UTC
Loosely based on walkah's idea I have changed a bit file_check_location. Most of the problems related to file_check_upload is gone now but still we have one: the system temporary directory. Please really look at the patch and let's decide whether file_check_upload is really necessary for $directory_temp or not.
| Comment | File | Size | Author |
|---|---|---|---|
| file_check_location.patch | 2.34 KB | chx |
Comments
Comment #1
walkah commented+1 - we obviously need it and I think the approach is sane- it also seems to work in my testing.
one thing - with this approach, though, is that chx's modifications mean that files that /don't/ exist are gonna end up looking like : files//etc/passwd (for example) when they come out of file_create_path(). I, personally, don't see much issue in that..
Comment #2
dries commentedCommitted it to HEAD and DRUPAL-4-6 so we can test it.
Comment #3
ec commentedDo this patch also close this issue http://drupal.org/node/10885 ? regards, eric.
Comment #4
(not verified) commented