When installed cannot download any of the site private files

Created on 29 February 2024, 9 months ago

Problem/Motivation

When installed cannot download any of the site private files. Because the hook_file_download returns -1 when files are not in the configured wiki directory. It must return null as said in https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21File%21fi...

Steps to reproduce

- Install in a drupal with private files.
- Try to access any of the other private files.
Access denied is given

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇸Spain aleix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024