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
  • Http
  • RequestHandler.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] Inject PSR-7 data in TSFE methods · c3377631
    Benni Mack authored Aug 30, 2018 and Georg Ringer's avatar Georg Ringer committed Aug 31, 2018
    The following public methods within TSFE now get a PSR-7 request object
    handed in to fetch the GET / POST variables.
    
    - $TSFE->preparePageContentGeneration(ServerRequestInterface $request)
    - $TSFE->calculateLinkVars(array $queryParams)
    - $TSFE->makeCacheHash()
    
    Note: If a hook modified _GET and preparePageContentGeneration
    is called from Core, the state of _GET and $request->getQueryParams()
    will differ. This COULD be overcome by using GeneralUtility::_GETset()
    which TYPO3 Core and extensions like realurl already use.
    
    Resolves: #86046
    Releases: master
    Change-Id: Iecb333d1b501c0d14abf4d16d930e715e9bd8d2e
    Reviewed-on: https://review.typo3.org/58093
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Frans Saris's avatarFrans Saris <franssaris@gmail.com>
    Tested-by: Frans Saris's avatarFrans Saris <franssaris@gmail.com>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    c3377631