Skip to content
Snippets Groups Projects
Commit f0f8f0b7 authored by Claus Due's avatar Claus Due Committed by Christian Kuhn
Browse files

[BUGFIX] Trigger 404 for subpage shortcuts w/o subpages

This patch adds a try/catch around the call in TSFE to get
page and rootline with domain and makes getPageShortcut
function set $this->pageNotFound code, then throw error.

Change-Id: Id6aae04d7b4c2a8b267b0d949c056471c3a6b01b
Releases: master
Resolves: #78831
Reviewed-on: https://review.typo3.org/50805


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarChrister V <cvi@systime.dk>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: default avatarStefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: default avatarWolfgang Klinger <wolfgang@wazum.com>
Tested-by: default avatarWolfgang Klinger <wolfgang@wazum.com>
Reviewed-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Tested-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c1eda7cf
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment