Issue Bug Closed

#88062RouteEnhancer not applied to form with GET-method

Philipp Seiler 04/03/19, 16:11 updated 10/28/20, 13:55

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}'
  • Defining a simple link will work however: <f:link pageuid="123" additionalparams="{tx_plugin: {foo: 'bar'}}">link</f:link>.
    Output: http://www.domain.tld/my/site/bar

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.