Project

General

Profile

Actions

Bug #104460

open

Asset ViewHelper does not take config.forceAbsoluteUrls into account

Added by Patrick Lenk 4 months ago. Updated about 1 month ago.

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #101911: TYPO3 composer mode does not properly respect installations in a subdirectoryClosed2023-09-13

Actions
Related to TYPO3 Core - Bug #100768: CKEditor 5: Incorrect webfont path in backendClosed2023-04-27

Actions
Related to TYPO3 Core - Bug #103157: Image referenced by `EXT:` does not work in TYPO3 subfolder installationClosed2024-02-20

Actions
Actions

Also available in: Atom PDF