Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • frontend
  • Classes
  • ContentObject
  • ContentObjectRenderer.php
Find file BlameHistoryPermalink
  • Christian Kuhn's avatar
    [BUGFIX] Avoid str_replace(..., null) in ContentObjectRenderer · 41af981c
    Christian Kuhn authored Oct 25, 2021
    Calling str_replace() with second argument non-string is
    deprecated as of PHP 8.1. Sanitize stdWrap_brTag() in
    ContentObjectRenderer to avoid a case found by unit tests.
    
    Resolves: #95775
    Releases: master
    Change-Id: I9353ec28d23ec3b0ef50b8ecf48053ce27f5645e
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71973
    
    
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    41af981c