Actions
Bug #91761
openLinks with fragment and without parameters broken
Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-07-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
When linking from a page with parameters to the same page without parameters but with a fragment, the link only contains the fragment. This means the browser does not follow the link, but stays on the same page.
This is a regression introduced with #89068
The problem is, that the check for queryParameters does not check if the current page has parameters:
PageLinkBuilder.php#L399
This breaks the "Return to login form" in felogin on the "Forgot password" page, if the following config is used:
plugin.tx_felogin_pi1.linkConfig.section.field = uid
The Back Link on the Forgot-Password Page will not lead back to the login form, because the tx_felogin_pi1[forgot]=1
parameter is still present in the url.
Current workaround is:
plugin.tx_felogin_pi1.linkConfig.forceAbsoluteUrl = 1
Actions