v2-hub
v2-hub copied to clipboard
Statamic v2.11.21 breaks resources on Windows
Describe the bug
The change to statamic/core/Http/ResourceServer/Server.php
line 178 stops resources from loading on Windows.
To Reproduce Steps to reproduce the behavior:
- Update to v2.11.21
- Go to control panel login
- See 404s in browser inspector
Environment details (please complete the following information):
- Statamic Version 2.11.21
- Fresh Install or Upgrade: happens on both
- OS: Windows 10
- Browser: all
- Web Server: Apache
- PHP Version: 7.3 and 7.4
Same problem here. The control panel becomes inoperable when updating to 2.11.21. (OS:Windows 10, Browser: Google Chrome, Web Server: Apache 2.4.35, PHP: 7.4.14)
The workaround that is not nice but seems to work anyway:
locate: statamic/core/Http/ResourceServer/Server.php
change line 178 to:
if (! $this->filesystem->exists($this->path) || $this->filesystem->isDirectory($this->path)) {
Is this ever going to be fixed? It's been over 3 months :(