Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Enable rootline / content access to sysfolders
Only disallow DOCTYPE_RECYCLER in rootline and cObj->checkPid(), instead of disallowing DOCTYPE_SYSFOLDER. This makes it possible to fetch content from sysfolder pages. At the same time, a hard check on accessing sys folders is added to TSFE. Resolves: #18079 Resolves: #20933 Releases: master Change-Id: Ieb54d139bc1e7fc489c35f70510800be8ff14fb9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64038 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Susanne Moog <look@susi.dev> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Susanne Moog <look@susi.dev> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
- Loading branch information
1 parent
637b36c
commit 6d2db4f
Showing
5 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...log/master/Important-18079-PagesdoktypeRestrictionForFrontendQueriesRefined.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
========================================================================== | ||
Important: #18079 - pages.doktype restriction for frontend queries refined | ||
========================================================================== | ||
|
||
See :issue:`18079` | ||
|
||
Description | ||
=========== | ||
|
||
Since over 15 years, TYPO3's Frontend rendering had a restriction to only allow pages with a "page type" (pages.doktype such as "Shortcut", "Link to external URL") to be limited to a fixed number less than 200. | ||
|
||
This meant that pages of certain types such as a Sys Folder and Recycler never were respected when fetching content from a specific page (via Typoscript) or querying records from there. | ||
|
||
This limitation has now been lifted in order to fix certain bugs, | ||
such as "content sliding" via TypoScript. But this also allows custom page doktypes to be used that have a higher number 200. | ||
|
||
This could potentially result in unexpected behavior in TypoScript or content fetching, if the previous limited behavior was mis-used | ||
for certain purposes. | ||
|
||
.. index:: Frontend, TypoScript, ext:frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters