Drupal 7 的 File Force Download 模块通过实现 hook_file_download() 钩子,在文件 URL 携带 download 查询参数时添加 Content-Disposition 响应头。在 Drupal 7 中,只要该钩子返回非空的响应头数组,即视为授予对该文件的访问权限。 在 7.1.0 至 7.1.2 版本中,该模块仅在文件位于 private 存储方案(scheme)时,才会将请求委托给其他模块的 hook_file_download() 实现;对于其他所有存储方案,
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| Drupal | File Force Download | 7.1.0 ~ 7.1.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC