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 #1

Updated by Ayke Halder about 1 month ago

  • Related to Bug #101911: TYPO3 composer mode does not properly respect installations in a subdirectory added
Actions #2

Updated by Ayke Halder about 1 month ago

  • Related to Bug #100768: CKEditor 5: Incorrect webfont path in backend added
Actions #3

Updated by Ayke Halder about 1 month ago

  • Related to Bug #103157: Image referenced by `EXT:` does not work in TYPO3 subfolder installation added
Actions #4

Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86608

Actions #5

Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86608

Actions #6

Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86608

Actions

Also available in: Atom PDF