Project

General

Profile

Actions

Bug #99350

open

Mail for reset password has broken logo if triggered by CLI

Added by J. Peter M. Schuler over 1 year ago. Updated over 1 year ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-12-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The cli command backend:resetpassword expects two parameters the backend login URL and the email address.
The backend login URL is then used as a prefix to create the RESET PASSWORD link.
However the TYPO3 Logo which is taken from backend extension configuration is not prefixed with that URL, but rather the cli path, thus with a backend logo extension config of
EXT:mysitepackage/Resources/Public/Images/backend/provider.png
this results in a HTML mail image url of http://vendor/bin/typo3conf/ext/mysitepackage/Resources/Public/Images/backend/provider.png" and thus a broken logo


Files


Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Bug #93940: Wrong path to backend login logo in system emailNew2021-04-18

Actions
Related to TYPO3 Core - Task #98343: Embed Mail logo into emailUnder Review2022-09-13

Actions
Actions #1

Updated by J. Peter M. Schuler over 1 year ago

From the template it seems this rather is about all mails based on typo3/sysext/core/Resources/Private/Layouts/SystemMail.html and the used variable {typo3.systemConfiguration.backend.loginLogo -> core:normalizedUrl()} all usages of {normalizedParams.siteUrl} create a correct URL

Actions #2

Updated by Gerrit Code Review over 1 year 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/+/77249

Actions #3

Updated by Rémy DANIEL over 1 year ago

  • Related to Bug #93940: Wrong path to backend login logo in system email added
Actions #4

Updated by J. Peter M. Schuler over 1 year ago

  • Related to Task #98343: Embed Mail logo into email added
Actions

Also available in: Atom PDF