Project

General

Profile

Actions

Bug #102653

open

felogin acts wrong after a redirect error from Middleware RedirectHandler.php

Added by Rolf Nakielski 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2023-12-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I discovered this during an update from v10 to v12

The Frontend Login always displayed the "wrong password or user-name" message while all this was OK.

I found some Errors in the log File like

[ERROR] request="b39bc2034d2ca" component="TYPO3.CMS.Redirects.Http.Middleware.RedirectHandler": Redirect /login points to itself! Aborting. - {"record": ... 

In fact there was such a nonsense redirect pointing from /login to domain.com/login. Editors do strange things. After disabling it all worked fine.

I think this should better lead to some 500 status rather than to a "wrong password" Message. I could open the login page (producing first error log record) but after entering user name and pw (producing second error log record) the redirect error causes obviously a strange behaviour of EXT:felogin. Did not happen with v10.

Actions

Also available in: Atom PDF