Proxy does not work anymore

Created on 25 October 2023, 8 months ago
Updated 7 December 2023, 6 months ago

Problem/Motivation

Since the changes in πŸ› PHP 8.1 Deprecated function: trim(): Passing null to parameter #1 ($string) Fixed the fallback does not work anymore.

Steps to reproduce

Fresh install of the module with just origin via settings.php. Call a web page with a image. Image can not be loaded because the requested path is example.org/2023-20/image.jpg. Set origin_dir $config['stage_file_proxy.settings']['origin_dir'] = 'sites/default/files'; and try again. Works.

Proposed resolution

Fallback to file_dir again.

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany tobiasb Berlin

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

Comments & Activities

Production build 0.69.0 2024