Project

General

Profile

Actions

Bug #67934

closed

Link view helper needs to escape square brackets in URLs

Added by Sebastian Peine over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2015-07-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 action="show" arguments="{id: id}" title="Show">Show</f:link.action>

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.

Actions #1

Updated by Helmut Hummel over 8 years ago

  • Status changed from New to Rejected

Do you have cooluri installed? Then remove it, try again and blame the author of that extension.
Do you have realurl installed and have set 'doNotRawUrlEncodeParameterNames' => true ? Then change the configuration and blame the one who enabled this configuration (not the default)

None of the above? Try with a clean core and no additional extensions. TYPO3 properly encodes the url argument names.

Actions

Also available in: Atom PDF