- Issue created by @RobinCS
When I look up the x-sendfile header generated in the XsendfileFileDownloadController.php, the root path is the path of the Drupal-Installation: x-sendfile: /../private/2023-08/private_file.jpg
The header in XsendfileImageStyleDownloadController.php uses the Root-Directory of the Server as the root-path:x-sendfile: /var/www/html/private/styles/thumbnail/private/2023-08/private_file.jpg
Both approaches can work, but having the module return two different root-paths makes it difficult to distinguish the different paths in Nginx (and probably Apache too).
Activate the Module and create some private pictures. media_library might help with creating ImageStyles.
We should decide on one default and then rewrite either of the functions to return an absolute or relative path.
none
none
none
Active
1.2
Code