[Flow] Fluid escaping interceptor not called when rendering view helpers with shorthand syntax

Bastian Waidelich bastian at typo3.org
Tue Jul 1 14:14:43 CEST 2014


Helmut Hummel wrote:

Hi Helmut,

> {f:uri.action(action: 'list', arguments: {a:'b'})}
> <f:uri.action action="list" arguments ="{a:'b'}" />

The shorthand syntax is not correct like this, it should be:
{f:uri.action(action: 'list', arguments: '{a: \'b\'}')}


> both produce the same result where & is not html escaped.

That should be the case, and it is for me:

<f:uri.action action="index" arguments="{foo: 'bar', baz: '&'}" />
{f:uri.action(action: 'index', arguments: '{foo: \'bar\', baz: \'&\'}')}

Produces:

/index?foo=bar&baz=%26
/index?foo=bar&baz=%26


-- 
Bastian Waidelich


More information about the Flow mailing list