Project

General

Profile

Actions

Bug #100791

closed

EXT:redirect infinite loop on target "/"

Added by Rafael Kähm over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Link Handling & Redirect Handling
Start date:
2023-05-02
Due date:
% Done:

100%

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

Description

The redirect target MUST NOT be empty if it is defined as "/", because redirect to empty "" string as target leads to the redirects to the requested URL again.

How to reproduce:

Install EXT:redirects

composer require typo3/cms-redirects

Create a redirect entry via backend for any source(e.g. "/rfc/is/strange/") but / as target.

Open Firefox dev tools and navigate to network tab, and call the created URL.

The redirect endless loop error is triggered.

Expected behavior:

The redirect target must stay as it is defined in sys_redirect.target record.

Screenshot from Firefox dev tools:

!Bildschirmfoto vom 2023-05-02 22-43-11.png!


Files

Bildschirmfoto vom 2023-05-02 22-43-11.png (190 KB) Bildschirmfoto vom 2023-05-02 22-43-11.png Rafael Kähm, 2023-05-02 20:45
Auswahl_1290.png (62.7 KB) Auswahl_1290.png Stefan Bürk, 2023-05-04 04:00
Auswahl_1291.png (37.1 KB) Auswahl_1291.png Stefan Bürk, 2023-05-04 04:00

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100958: Type error in reference index with invalid user inputClosed2023-06-05

Actions
Actions

Also available in: Atom PDF