Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2.4' into 3.0
Browse files Browse the repository at this point in the history
Conflicts:
	build.xml
	composer.json
	install.php
	phpunit.xml.dist
  • Loading branch information
chillu committed Feb 15, 2013
2 parents 5d78b04 + 2352317 commit 494bfc7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .htaccess
Expand Up @@ -15,6 +15,8 @@ ErrorDocument 500 /assets/error-500.html

<IfModule mod_alias.c>
RedirectMatch 403 /silverstripe-cache(/|$)
RedirectMatch 403 /vendor(/|$)
RedirectMatch 403 /composer\.(json|lock)
</IfModule>

<IfModule mod_rewrite.c>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -14,4 +14,4 @@
"phpunit/phpunit": "3.7.*"
},
"minimum-stability": "dev"
}
}
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Expand Up @@ -25,7 +25,7 @@
<listeners>
<listener class="SS_TestListener" file="framework/dev/TestListener.php" />
</listeners>

<groups>
<exclude>
<group>sanitychecks</group>
Expand Down
14 changes: 13 additions & 1 deletion web.config
@@ -1,5 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<hiddenSegments>
<add segment="silverstripe-cache/" />
<add segment="vendor" />
<add segment="composer.json" />
<add segment="composer.lock" />
</hiddenSegments>
<fileExtensions allowUnlisted="true" >
<add fileExtension=".ss" allowed="false"/>
</fileExtensions>
</requestFiltering>
</security>
</system.webServer>
</configuration>

0 comments on commit 494bfc7

Please sign in to comment.