This fixes a bug where some plugins like Woocommerce ^7.8 check $_SERVER['SCRIPT_FILENAME'] for permissions, which led to redirecting ajax requests to the homepage for logged out users, as this variable initially pointed to Symfony's entrypoint /public/index.php.
This fixes a bug where some plugins like Woocommerce ^7.8 check
$_SERVER['SCRIPT_FILENAME']
for permissions, which led to redirecting ajax requests to the homepage for logged out users, as this variable initially pointed to Symfony's entrypoint/public/index.php
.