Project

General

Profile

Actions

Bug #103833

closed

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

Added by Daniel Diele 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2024-05-14
Due date:
% Done:

0%

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

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.

Actions

Also available in: Atom PDF