Feature #44891
Routes should be able to enforce http/https protocol
Status: | New | Start date: | 2013-01-28 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | MVC - Routing | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
It should be possible to set http/https protocol for each route separately (for e.g. for the checkout page of the e-shop).
- name: 'Checkout' uriPattern: 'checkout' defaults: '@package': 'Eshop' '@controller': 'Checkout' '@action': 'index' '@format': 'html' '@protocol': 'https'
Default behaviour should be to use http.
If https is specified for the route and you arrive through http, automatic redirect to https should ensue.
Related issues
History
#1 Updated by Bastian Waidelich about 1 year ago
FYI: That would be resolved with #53080