Overview
Artifact ID: | 6fc9c1dfb47e4e0c9dbb1710d096cf4a974d39ad |
---|---|
Ticket: | 99caf06e17bed849146e834a8341d40590c29bc5
Error moving a file to a directory with ../.. |
User & Date: | anonymous 2011-01-11 13:10:58 |
Changes
- Appended to comment:
<hr /><i>anonymous claiming to be viric added on 2011-01-11 13:10:58 UTC:</i><br /> I attached a patch that always uses file_canonical_name() so file_isdir() works for cases of "../.." directories. As it works with canonical names, maybe it has troubles with the ".." directories inside a symlinked directory, but I imagine there may be troubles for this situation in other parts of the code too.