Project

General

Profile

Actions

Bug #102203

closed

Password recovery url in mail has wrong extension prefix

Added by Moritz Noll 9 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2023-10-19
Due date:
% Done:

100%

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

Description

When I use the password recovery function I get a wrong extension prefix in url.

/forgot-password?ai[action]=showChangePassword&ai[controller]=PasswordRecovery&ai[hash]=1234567890|712f6c5129ccf8670531bafe33ea0d473bfb119b&cHash=4683b48e47168beec8039c3c36e33bf9

Instead of.

/forgot-password?tx_felogin_login[action]=showChangePassword&tx_felogin_login[controller]=PasswordRecovery&tx_felogin_login[hash]=1234567890|712f6c5129ccf8670531bafe33ea0d473bfb119b&cHash=4683b48e47168beec8039c3c36e33bf9

I think that comes from a third party extension that also uses the "UriBuilder" on that site and set the "argumentPrefix" before.
The problem is that you make here no reset on the UriBuilder instance like you explain in documentation (https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Extbase/Reference/UriBuilder.html).
https://forge.typo3.org/projects/typo3cms-core/repository/1749/entry/typo3/sysext/felogin/Classes/Service/RecoveryService.php?utf8=%E2%9C%93&rev=v11.5.32#L141

Actions

Also available in: Atom PDF