#93328redirect for empty slug
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] redirect for empty slug Resolves: #93328 Releases: main