Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
file.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 02:30 UTC
Updated:
18 Aug 2010 at 06:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
damien tournoud commentedThis was noted in the original post of #846296: file_file_download() only implements access checks for nodes and users.
Comment #2
damien tournoud commentedThe correct fix is simply, but we need a test of this.
Comment #3
andypostTested, works!
Comment #4
dries commentedCommitted to CVS HEAD but setting to 'needs work' because we still need a test.
Comment #5
andypostExtended tests:
- Added check that file downloadable for public scheme
- Added check for changing 'uri_scheme' setting
- Added check for private method download works
Comment #6
damien tournoud commentedLooks good!
Comment #7
int commentedCommit #402088 by Dries at 04:50
- Patch #867928 by Damien Tournoud, andypost: more tests for file and image handling.