Closed sca1235 closed 6 months ago
+1 on this. It's a poor implementation.
Any workarounds?
edit:
$nonExistentFileName = '/vendor/horizon/nonExistentFile';
Should be:
$nonExistentFileName = 'vendor/horizon/nonExistentFile';
You can add fake path to base dir, until they fix it, or yes publish the vendor layout file and change the path, maybe wrap in base path method so it's properly routed.
This is now fixed in v5.24.4
Horizon Version
5.24.3
Laravel Version
10.48.10
PHP Version
8.2.18
Redis Driver
PhpRedis
Redis Version
6.0
Database Driver & Version
Mysql 8.0
Description
This recent update broke access to the dashboard when using
open_basedir
ini values.Seems trying to access a nonexistent file in the root of server. For security purposes we don't allow php access outside of project.
Steps To Reproduce
it seems to be loading in root of server /vendor path
It should try to load
/var/www/laravel/vendor/horizon/nonExistentFile
not/vendor/horizon/nonExistentFile