Project

General

Profile

Actions

Bug #96431

open

Redirect to 404 if entry point is fully qualified domain

Added by Ian Solo almost 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
Start date:
2021-12-24
Due date:
% Done:

0%

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

Description

Suppose we have a website address https://www.example.com

To reproduce:
  • have a Site Configuration with a language set with
    base: 'https://www.example.es/'
    
  • translate a page with title "test-default" with that language
  • change the title of the translated page "test-es"

Result:
a new sys_redirect record is created with source_host www.example.com instead of www.example.es.
So when an user browses the default language of this translated page:

https://www.example.com/test-default
is redirected to:
https://www.example.com/test-es
that doesn't exist and throws a 404.

Correct redirect link should be:

https://www.example.es/test-es

Actions

Also available in: Atom PDF