Project

General

Profile

Actions

Bug #102211

open

Uri.ResourceViewHelper not respecting config.forceAbsoluteUrls

Added by Sebastian Fischer 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2023-10-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

According to feature #87919 "all links, references to images or assets" should be rendered with "site prefix / current domain" if config.forceAbsoluteUrls is set to one.

This does not work for

<f:uri.resource path="EXT:sitepackage/Resources/Public/Images/icon-home.png"/>

The result is

/_assets/5a5aaa267f0a773867727fec1920f9af/Images/icon-home.png

Only if the optional viewhelper argument absolute is set to true, the domain gets prefixed and the result is as expected

https://dev.arpa/_assets/5a5aaa267f0a773867727fec1920f9af/Images/icon-home.png

Actions

Also available in: Atom PDF