Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
  • TYPO3.CMS
  • typo3
  • sysext
  • frontend
  • Classes
  • Controller
  • ErrorController.php
Find file Blame History Permalink
  • Felix Buenemann's avatar
    [BUGFIX] Restore getUrl support for list of headers · 662fb9ae
    Felix Buenemann authored Mar 07, 2018 and Susanne Moog's avatar Susanne Moog committed Mar 14, 2018
    The change of \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl()
    from cURL to GuzzleHttp the format of the $requestHeaders param was
    implicitly changed from an array of header strings to an associative
    array where the key is the header name and the value is either a single
    or an array of values for that header.
    
    This adds back support for the old list of headers format by detecting a
    non-associative array and converting it to the Guzzle key/value(s) style.
    
    At the same time the 'old' way is deprecated.
    
    Resolves: #84171
    Related: #70056
    Releases: master, 8.7
    Change-Id: I41b23993957288dfd5294129fa8039aab717461d
    Reviewed-on: https://review.typo3.org/56046
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
    Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
    Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
    Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
    662fb9ae