Project

General

Profile

Actions

Bug #99350

open

Mail for reset password has broken logo if triggered by CLI

Added by J. Peter M. Schuler almost 2 years ago. Updated almost 2 years 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 3 (3 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
Related to TYPO3 Core - Bug #96063: custom Backend Login Logo within fileadmin breaks MAIL functionalityUnder Review2021-11-23

Actions
Actions #1

Updated by J. Peter M. Schuler almost 2 years 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 almost 2 years 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 almost 2 years ago

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

Updated by J. Peter M. Schuler almost 2 years ago

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

Updated by Riccardo De Contardi 6 months ago

  • Related to Bug #96063: custom Backend Login Logo within fileadmin breaks MAIL functionality added
Actions

Also available in: Atom PDF