#92284<f:asset.script> ViewHelper double escape the src attribute
Description
The ScriptViewHelper adds the value of the src attribute to the AssetCollector.
Because of fluids default attribute escaping the value of the src attribute is already encoded while calling AssetCollector->addJavaScript().
The result is a wrong escaped src attribute in the frontend.
example:
input: https://typo3.org/foo.js?foo=bar&bar=baz
output: https://typo3.org/foo.js?foo=bar&bar=baz
expected: https://typo3.org/foo.js?foo=bar&bar=baz
Reviews 4
- 10.4 71926[BUGFIX] Do not HTML encode attributes in Script and Asset VH
- main 66284[BUGFIX] Do not HTML encode attributes in Script and Asset VH
- 10.4 66294[BUGFIX] Prevent double escaping for src attribute in ScriptViewHelper
- main 65700[BUGFIX] Prevent double escaping for src attribute in ScriptViewHelper