Actions
Bug #91774
openSite configuration base changes are not observed for page redirect source URLs
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-07-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
sys_redirects, site
Complexity:
Is Regression:
Sprint Focus:
Description
Setup:
- Site with empty ("/") base.
- A page in the page tree within the site.
- Change the site base to a full qualified URL (like "https://example.com")
- Change the slug of a page in the page tree
- A redirect with the source_host of the current page will be created.
- The source_host of the created redirect must be "*", because the original URL of the page did not resolve to any specific domain.
- Site with base "/" and page with slug "/foo" can be accessed with any domain and path /foo
- After the site base changed the page can only be accessed with the new base. The new page url is "https://example.com/foo"
- The redirect must therefore redirect from "http(s)://*/foo" to "https://example.com/foo"
- BUT: The source_host of the generated redirect includes the new domain, which prevents redirects from matching any other previous host/domain.
- The generation of redirects has to check the last valid URL of the page before any change has been made to the page and its site.
No data to display
Actions