Issue Bug Closed

#103833Redirect /some-path/ points to itself! Aborting.

Daniel Diele 05/14/24, 13:51 updated 05/14/24, 14:55

Description

We currently have the situation in a project in that we use Sentry for error tracking. Since the upgrade to v12.4 our Sentry is overflowing with errors of the following type:

Redirect /some-path/ points to itself! Aborting.

This error is thrown in vendor/typo3/cms-redirects/Classes/Http/Middleware/RedirectHandler.php TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler::process at line 83.

The redirects pointing to themselves are caused when pages/slugs are renamed by editors and later reset to their original values e.g.:
*/path-A* is renamed to /path-B .
Later changing /path-B back to original value /path-A causes unwanted redirect with source_path == target.

It is also interesting to note that no redirection takes place on the client side. If you use the network tool to check whether a redirect has taken place when calling up an affected page, this is not the case.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.