Fix route enhancers to append trailing slash for missed domains

This commit is contained in:
Björn Fromme
2019-06-13 11:05:17 +02:00
parent c23204bc62
commit ae5abd9c27
2 changed files with 30 additions and 11 deletions
+15 -9
View File
@@ -93,13 +93,13 @@ routeEnhancers:
location_type: \d+
aspects:
travel_type:
type: StaticRangeMapper
start: '1'
end: '100'
type: PersistedAliasMapper
tableName: tx_epevents_domain_model_traveltype
routeFieldName: uid
location_type:
type: StaticRangeMapper
start: '1'
end: '100'
type: PersistedAliasMapper
tableName: tx_epevents_domain_model_location
routeFieldName: uid
ContactFormPlugin:
type: Extbase
extension: EpEvents
@@ -117,6 +117,12 @@ routeEnhancers:
travel_type: \d+
aspects:
travel_type:
type: StaticRangeMapper
start: '1'
end: '100'
type: PersistedAliasMapper
tableName: tx_epevents_domain_model_traveltype
routeFieldName: uid
PageTypeSuffix:
type: PageType
default: '/'
index: ''
map:
'/': 0
+15 -2
View File
@@ -22,5 +22,18 @@ errorHandling:
errorCode: '404'
errorHandler: Page
errorContentSource: 't3://page?uid=608'
routes: { }
routeEnhancers: { }
routes:
-
route: robots.txt
type: staticText
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
routeEnhancers:
PageTypeSuffix:
type: PageType
default: '/'
index: ''
map:
'/': 0
'/json': 1701
'/html': 1702