Ensure composer files aren't accessible using IIS

This commit is contained in:
Sean Harvey 2013-04-03 15:59:14 +13:00
parent df4d7428fa
commit a99c829ed1

View File

@ -1325,7 +1325,14 @@ TEXT;
<requestFiltering>
<hiddenSegments applyToWebDAV="false">
<add segment="silverstripe-cache" />
<add segment="vendor" />
<add segment="composer.json" />
<add segment="composer.lock" />
</hiddenSegments>
<fileExtensions allowUnlisted="true" >
<add fileExtension=".ss" allowed="false"/>
<add fileExtension=".yml" allowed="false"/>
</fileExtensions>
</requestFiltering>
</security>
<rewrite>