Skip to content

pschriner/tsfe_redirect_patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsfe_redirect_patch

Language:en
Description:$GLOBALS['TSFE'] is the prime entry point for all frontend rendering in TYPO3. This extension works around a specific bug in the corresponding TYPO3 core class.
Copyright: Die Medialen GmbH, 2015
Author: Patrick Schriner, Die Medialen GmbH
Email:patrick.schriner@diemedialen.de
License:This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

What does it do?

This extension works around a bug in the TyposcriptFrontendController which causes redirects when a page is inaccessible, but has shortcuts or mountpoints in its rootline. The bug is caused by getPageAndRootline() never unsetting $originalShortcut or $originalMountpoint, even if the target page has nothing to do with the shortcut or mountpoint. This extension wraps the original getPageAndRootline() and checks whether the targeted page is actually above the shortcut / mountpoint pages and correctly unsets $originalShortcut or $originalMountpoint.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages