Bug #106768
openPageInformationFactory throws PageInformationCreationFailedException
0%
Description
Prerequisite: sys_redirect from redirect.example.org to example.org
URL: redirect.example.org/?id=2500%2C%2C1007330%2C
throws PageInformationCreationFailedException in TYPO3\CMS\Frontend\Page\PageInformationFactory in line 516
id parameter is used although security.frontend.allowInsecureSiteResolutionByQueryParameters is not set
id parameter is used although keep_query_parameters in redirect was not set
Updated by Oliver Hader 24 days ago
ยท Edited
- Status changed from New to Needs Feedback
The reason at that code location is PageAccessFailureReasons::ACCESS_DENIED_HOST_PAGE_MISMATCH
Can you please share the complete (redacted) redirection response (like in my example below)?
curl -Ik 'https://ip14.anyhost.it/?id=82,,123,' HTTP/1.1 307 Temporary Redirect Date: Mon, 26 May 2025 19:41:34 GMT Server: Apache/2.4.63 (Unix) OpenSSL/3.5.0 mod_fcgid/2.3.9 X-Powered-By: PHP/8.2.24 X-Redirect-By: TYPO3 Redirect 3 location: https://ip14.anyhost.at Content-Type: text/html; charset=UTF-8
The security.frontend.allowInsecureSiteResolutionByQueryParameters
feature currently only applies to site-resolving.
Updated by Garvin Hicking 24 days ago
- Category set to Link Handling & Redirect Handling
Updated by Philipp Parzer 24 days ago
There is no redirection because the Exception is thrown:
HTTP/2 500 server: nginx/1.27.4 date: Tue, 27 May 2025 05:24:32 GMT content-type: text/html; charset=UTF-8 x-powered-by: PHP/8.3.17 x-xss-protection: 1; mode=block x-ua-compatible: IE=edge x-content-type-options: nosniff strict-transport-security: max-age=31536000
what I'm trying to do is: move alls URLs from old.example.org/* to example.org/ via sys_redirect (and remove all params)
temporary fix is, to redirect via htaccess