Actions
Bug #88062
closedRouteEnhancer not applied to form with GET-method
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
route,routeenhancer,enhancer,link,form,get
Complexity:
Is Regression:
Sprint Focus:
Description
- Create simple form with method="get".
- Form contains a field e.g. <input type="text" name="foo" />.
- When submitting the form, the field will be added to the url: http://www.domain.tld/my/site?foo=bar
- Defining a RouteEnhancer for this URL will not rewrite the URL.
Search: type: Plugin limitToPages: - 123 namespace: tx_plugin requirements: foo: '[a-zA-Z0-9-*]+' routePath: '/{foo}'
- URL after submit stays http://www.domain.tld/my/site?foo=bar.
- Defining a simple link will work however: <f:link.page pageUid="123" additionalParams="{tx_plugin: {foo: 'bar'}}">link</f:link.page>.
Output: http://www.domain.tld/my/site/bar
Actions