Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
file system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 06:32 UTC
Updated:
2 Sep 2009 at 08:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchHa, of course that last patch is going to break uploads directly the root of file directories. This one adds a trailing slash only if it doesn't already end in a trailing slash.
Comment #2
aaron commentedgood find. is this worthy of a new test, perhaps?
Comment #3
pwolanin commentedsimpler code using substr:
Comment #4
pwolanin commentedneeds a test case also.
Comment #5
pwolanin commentedComment #6
quicksketchMuch better, looks great to me.
Comment #7
aaron commentedI love that there's finally a way to win by running these tests!!! Now it's not just the good feeling you get from seeing all the green bars...
Comment #8
webchickCommitted to HEAD. Thanks a lot!