Closed (fixed)
Project:
Drupal core
Version:
4.7.0-beta5
Component:
file system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2006 at 01:22 UTC
Updated:
22 Mar 2006 at 23:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
walkah commented+1 .. file.inc can always use better documentation. With the caveat that I intend to change some of this in the near future... but this wouldn't hurt.
one nitpick - file_download calls hook_download not strictly for permission checking, the hook_download implementations should also return any content-type, etc. headers for the downloads.
Comment #2
drewish commentedgood point about the downloads. i've updated that part of the patch to be a bit more precise.
Comment #3
drewish commentedFixed a typo (hook_download() -> hook_file_download()) and added some more comments.
Comment #4
drewish commentedComment #5
drewish commentedhere's a re-roll for head. i'd really like to get this in by the time the new drupaldocs server comes up.
Comment #6
killes@www.drop.org commentedapplied. there were some minor formatting issues which I fixed manually
Comment #7
(not verified) commented