Project

General

Profile

Actions

Bug #93328

open

redirect for empty slug

Added by David Bruchmann almost 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2021-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
redirect, gui, interface, root-page
Complexity:
Is Regression:
Sprint Focus:

Description

Adding a slug to a page with before empty slug creates a redirect for the root-page and breaks so the whole site.
Considering #93327 I would at least get a warning about it but adding a redirect for the root-page without further automatic checks is devastating.
I propose a check for pages without slug and also if the current page had a slug before as requirement to create a redirect for those pages - including reasonable decisions based on the findings. Nevertheless, the final decision has to be shown for confirmation like described in #93327 as the proposed tests would be quite limited without further context.

Actions

Also available in: Atom PDF