Skip to content

Commit

Permalink
Merge pull request #1 from silverstripe-security/pulls/master/ss-2018…
Browse files Browse the repository at this point in the history
…-022

[SS-2018-022] ADD ConfirmationMiddleware exceptions for the dev routes
  • Loading branch information
Aaron Carlino authored Jun 11, 2019
2 parents 6fe0b18 + e757c94 commit d8452c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _config/routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ SilverStripe\Dev\DevelopmentAdmin:
controller: Silverstripe\EnvironmentCheck\Controllers\DevCheckController
links:
check: 'Run registered environment checks and display their status'

---
Name: environmentcheckroutes-dev_urls-confirmation-exceptions
After:
- 'dev_urls-confirmation-middleware'
---
SilverStripe\Core\Injector\Injector:
DevUrlsConfirmationMiddleware:
properties:
Bypasses:
- '%$SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartsWith("dev/check")'

0 comments on commit d8452c6

Please sign in to comment.