Project

General

Profile

Actions

Bug #104460

open

Asset ViewHelper does not take config.forceAbsoluteUrls into account

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

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2024-07-23
Due date:
% Done:

100%

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 6 (1 open5 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
Related to TYPO3 Core - Bug #106601: Make sure absolute paths are cache bustedResolved2025-04-23

Actions
Related to TYPO3 Core - Bug #106687: AssetCollector outputs absolute paths since update 13.4.10Under Review2025-05-13

Actions
Related to TYPO3 Core - Bug #106695: Revert change in AssetRenderer about absolute web path calculationResolvedBenni Mack2025-05-14

Actions
Actions #1

Updated by Ayke Halder 8 months ago

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

Updated by Ayke Halder 8 months ago

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

Updated by Ayke Halder 8 months ago

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

Updated by Gerrit Code Review 8 months 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 8 months 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 8 months 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 #7

Updated by Gerrit Code Review 2 months ago

Patch set 4 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 #8

Updated by Gerrit Code Review 2 months ago

Patch set 5 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 #9

Updated by Gerrit Code Review 2 months ago

Patch set 6 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 #10

Updated by Gerrit Code Review 2 months ago

Patch set 7 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 #11

Updated by Gerrit Code Review 2 months ago

Patch set 8 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 #12

Updated by Gerrit Code Review 2 months ago

Patch set 9 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 #13

Updated by Simon Praetorius about 2 months ago

  • Related to Bug #106601: Make sure absolute paths are cache busted added
Actions #14

Updated by Gerrit Code Review about 2 months ago

Patch set 10 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 #15

Updated by Gerrit Code Review about 2 months ago

Patch set 11 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 #16

Updated by Gerrit Code Review about 2 months ago

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

Actions #17

Updated by Sébastien Delcroix about 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #18

Updated by Garvin Hicking about 1 month ago

  • Related to Bug #106687: AssetCollector outputs absolute paths since update 13.4.10 added
Actions #19

Updated by Benni Mack about 1 month ago

  • Related to Bug #106695: Revert change in AssetRenderer about absolute web path calculation added
Actions #20

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Accepted

Re-opened. We need to create a new issue when wanting to fix this.

Actions

Also available in: Atom PDF