-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
4,061 additions
and
1,300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
Name: confirmation_middleware-prototypes | ||
--- | ||
SilverStripe\Core\Injector\Injector: | ||
SilverStripe\Control\Middleware\ConfirmationMiddleware\AjaxBypass: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\AjaxBypass | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\GetParameter: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\GetParameter | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartswith: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartswith | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartswithCaseInsensitive: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\UrlPathStartswithCaseInsensitive | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\EnvironmentBypass: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\EnvironmentBypass | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\CliBypass: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\CliBypass | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\HttpMethodBypass: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\HttpMethodBypass | ||
type: prototype | ||
|
||
SilverStripe\Control\Middleware\ConfirmationMiddleware\Url: | ||
class: SilverStripe\Control\Middleware\ConfirmationMiddleware\Url | ||
type: prototype |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
docs/en/02_Developer_Guides/02_Controllers/06_Builtin_Middlewares.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
title: Built-in Middleware | ||
summary: Middleware components that come with SilverStripe Framework | ||
|
||
# Built-in Middleware | ||
|
||
SilverStripe Framework has a number of Middleware components. | ||
You may find them in the [SilverStripe\Control\Middleware](api:SilverStripe\Control\Middleware) namespace. | ||
|
||
| Name | Description | | ||
| ---- | ----------- | | ||
| [AllowedHostsMiddleware](api:SilverStripe\Control\Middleware\AllowedHostsMiddleware) | Secures requests by only allowing a whitelist of Host values | | ||
| [CanonicalURLMiddleware](api:SilverStripe\Control\Middleware\CanonicalURLMiddleware) | URL normalisation and redirection | | ||
| [ChangeDetectionMiddleware](api:SilverStripe\Control\Middleware\ChangeDetectionMiddleware) | Change detection via Etag / IfModifiedSince headers, conditionally sending a 304 not modified if possible. |\ | ||
| [ConfirmationMiddleware](api:SilverStripe\Control\Middleware\ConfirmationMiddleware) | Checks whether user manual confirmation is required for HTTPRequest | | ||
| [ExecMetricMiddleware](api:SilverStripe\Control\Middleware\ExecMetricMiddleware) | Display execution metrics in DEV mode | | ||
| [FlushMiddleware](api:SilverStripe\Control\Middleware\FlushMiddleware) | Triggers a call to flush() on all [Flushable](api:SilverStripe\Core\Flushable) implementors | | ||
| [HTTPCacheControlMiddleware](api:SilverStripe\Control\Middleware\HTTPCacheControlMiddleware) | Controls HTTP response cache headers | | ||
| [RateLimitMiddleware](api:SilverStripe\Control\Middleware\RateLimitMiddleware) | Access throttling, controls HTTP Retry-After header | | ||
| [SessionMiddleware](api:SilverStripe\Control\Middleware\SessionMiddleware) | PHP Session initialisation | | ||
| [TrustedProxyMiddleware](api:SilverStripe\Control\Middleware\TrustedProxyMiddleware) | Rewrites headers that provide IP and host details from upstream proxies | | ||
| [URLSpecialsMiddleware](api:SilverStripe\Control\Middleware\URLSpecialsMiddleware) | Controls some of the [URL special variables](../../debugging/url_variable_tools) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.