This project is mirrored from https://git.typo3.org/typo3/typo3.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 03 Dec, 2020 1 commit
  2. 01 Dec, 2020 7 commits
  3. 30 Nov, 2020 2 commits
  4. 29 Nov, 2020 3 commits
  5. 28 Nov, 2020 1 commit
    • Christian Kuhn's avatar
      [TASK] Introduce constant 'TYPO3' · aa4bd8ad
      Christian Kuhn authored
      TYPO3 still has some script files that run in global scope
      without class or callable encapsulation. Those are especially
      ext_localconf.php, ext_tables.php and Configuration/TCA/Overrides/*
      script files.
      
      When those files are located within document root, they can be
      called directly via HTTP and may output something, which can be
      a security risk. To prevent this, they have a call at the very
      start: 'defined('TYPO3_MODE') or die();'.
      
      Unfortunately, constant 'TYPO3_MODE' is a technical debt, core
      tries to phase it out in v11. We thus need something equivalent
      for these calls.
      
      Since that test for existance of a constant is so simple and
      straight forward, the solution is to define a new constant to
      true, simply named 'TYPO3', to substitute 'TYPO3_MODE'. The
      call is very similar: 'defined('TYPO3') or die();'.
      
      The patch targets core master and v10: Having that constant in
      v10 simplifies life of extension developers who want to deliver
      extensions compatible with v10 and v11 in the same version, when
      'TYPO3_MODE' constant is deprecated in v11 with upcoming patches.
      
      Resolves: #92948
      Related: #92947
      Releases: master, 10.4
      Change-Id: Ib7b438422a41e242cf49cd4f87a6f8c50a9907d3
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66937
      
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      aa4bd8ad
  6. 27 Nov, 2020 4 commits
  7. 26 Nov, 2020 4 commits
  8. 25 Nov, 2020 2 commits
  9. 24 Nov, 2020 3 commits
  10. 23 Nov, 2020 1 commit
  11. 22 Nov, 2020 1 commit
  12. 21 Nov, 2020 2 commits
  13. 20 Nov, 2020 9 commits