[BUGFIX] Unconfigured typeNums should result in 404 instead of 500 response
Calling a URL with type=138 which is not configured should not result in an "page unavailable" but a "page not found" (404) response. Resolves: #86844 Releases: master, 9.5 Change-Id: Iaf739e9bac1b07914aa9e9856bc38a91fe558ed1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62244 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 2 additions, 2 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php 31 additions, 0 deletions...end/Tests/Functional/SiteHandling/SlugSiteRequestTest.php
Please register or sign in to comment