The previous condition for prohibiting access to composer's vendor covered other deeper directories like fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff2, this path is actually generated by Laravel-mix.
This PR aims to relax and make this condition focus on prohibiting the directory generated by composer.
The previous condition for prohibiting access to composer's vendor covered other deeper directories like
fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.woff2
, this path is actually generated by Laravel-mix.This PR aims to relax and make this condition focus on prohibiting the directory generated by composer.