Actions
Bug #100361
open"vendor/bin" in absolute URL from f:uri.resource in command controller
Status:
New
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2023-03-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
We have a command controller that fills/renders a `StandaloneView`. The template contains `<f:uri.resource path="EXT:myext/..." absolute="1" />`. When executing the Command Controller from cli with `env HTTP_HOST=domain` the link includes `vendor/bin`.
To test this I've created a minimal extension https://github.com/FamousWolf/clilinktest. After installing this extension you can execute `env HTTP_HOST=domain vendor/bin/typo3 clilinktest:link-test`. This will output `Resource link: http://domainvendor/bin/_assets/8941a1cc0cfaf55c24b1ffcd159f5d1c/Images/Test.svg`. Expected output is `http://domain/_assets/8941a1cc0cfaf55c24b1ffcd159f5d1c/Images/Test.svg`.
I've tested this in a clean composer installed TYPO3 11.5 and 12.3 instance.
Updated by Stephan Großberndt 8 months ago
- Related to Bug #90330: Wrong publicUrl for FAL files in non-public storages generated from CLI added
Actions