Actions
Bug #104460
openAsset ViewHelper does not take config.forceAbsoluteUrls into account
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2024-07-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
fluid, asset, viewhelper, typoscript, config, forceAbsoluteUrls
Complexity:
Is Regression:
Sprint Focus:
Description
If the option config.forceAbsoluteUrls is set, all links, reference to images or assets previously built with a relative or absolute path will be rendered as absolute URLs with the site prefix / current domain.
Like described in https://docs.typo3.org/m/typo3/reference-typoscript/12.4/en-us/TopLevelObjects/Config.html#confval-config-forceabsoluteurls
Unfortunately, this does not seem to apply to the two asset viewhelpers f:asset.css and f:asset.script.
Assets have stil relative URLs.
In my scenario, i add assets with the asset viewhelpers to fluid layouts, partials or templates of third-party extensions to add these assets only to pages with these extensions/plugins.
Actions