SyntaxC4-MSFT / ComposerExtension

Brings Composer Support to Azure Websites via a Site Extension
http://www.siteextensions.net
MIT License
15 stars 7 forks source link

Denying access to the path starting with `/vendor/` #20

Closed satoryu closed 6 years ago

satoryu commented 6 years ago

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.

SyntaxC4 commented 6 years ago

Great contribution, thank you!

satoryu commented 6 years ago

@SyntaxC4 thank you for merging my pull-request.

Could you publish the HEAD of the master branch as new version to Site Extensions?