Issue Bug Rejected

#67934Link view helper needs to escape square brackets in URLs

Sebastian Peine 07/06/15, 21:01 updated 07/08/15, 09:44

Description

When I generate links with the f:link.action viewhelper, the generated href attribute reads like this:

href="home/?tx_myext_myplugin[id]=1&tx_myext_myplugin[action]=show&cHash=8d3d1a11600f17ba6cbdf68e292f206b"

The code in my fluid template:
@<f:link action="show" arguments="{id: id}" title="Show">Show@</f:link>

The square brackets are not replaced by %5B and %5D and so the w3c validator marks the href as invalid.
Same applies to the action url of the f:form viewhelper.

Reviews 0

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