Feature #29972
Configurable Redirects
Status: | Under Review | Start date: | 2011-09-18 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Tim Kandel | % Done: | 0% |
|
Category: | MVC - Routing | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No |
Description
We need a new Entity "Redirect" (in MVC/Web/Routing/Redirect) with the properties sourceUri, destinationUri, hasMoved statusCode and possibly counter and host.
Before a request is matched to package, controller and action, the router should check if a redirect is configured and return the respective redirect headers if that's the case.
Related issues
Associated revisions
[FEATURE] Add tagging to router cache
This adjusts the RouterCachingService to tag every Routing cache entry
with any UUID the routeValues/matchResult contain.
This will make it possible to flush caches only for affected entities.
Change-Id: I917524542b4051a4c29792eeed330a793c47e677
Releases: master
Related: #29972
History
#1 Updated by Bastian Waidelich almost 4 years ago
Additional idea:
ObjectPathMappings can be marked obsolet (triggered when an affected object is changed for instance)
Whenever the IdentityRoutePart comes across an obsolete mapping while resolving an URI, the path segment will be recreated and - if it's different to the one in the repository - a redirect is created.
If an obsolete mapping is found during matching of an URI, the mapping is removed and a redirect with status "gone" created.
#2 Updated by Bastian Waidelich almost 4 years ago
- Target version deleted (
1.0.0)
#3 Updated by Bastian Waidelich over 3 years ago
- Category changed from Object to MVC - Routing
- Has patch set to No
#4 Updated by Bastian Waidelich over 2 years ago
Bastian Waidelich wrote:
ObjectPathMappings can be marked obsolet (triggered when an affected object is changed for instance)
For that we could introduce some new annotation that triggers an AOP aspect which updates related ObjectPathMapping records whenever all or specific properties of an object change
#5 Updated by Gerrit Code Review almost 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24223
#6 Updated by Tim Kandel almost 2 years ago
- Assigned To changed from Bastian Waidelich to Tim Kandel
#7 Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24223