[BUGFIX] Change getUrl() $report['content_type'] to string 43/56043/3
authorFelix Buenemann <felix.buenemann@gmail.com>
Thu, 8 Mar 2018 08:18:34 +0000 (09:18 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 8 Mar 2018 10:46:21 +0000 (11:46 +0100)
commitbed7b8005be42ac55f32a9f323898bf37c3b8a47
tree262f992682a6cefa4586e062d11378776f89e09f
parenta995ab1f961eb0c91254312e8143c3d8adc68fc1
[BUGFIX] Change getUrl() $report['content_type'] to string

In the conversion of \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl()
from cURL to GuzzleHttp the type of the $report['content_type'] field
was changed from a string to an array of strings.

This changes the field back to a string.

Also updated ErrorController getUrl test double to reflect the changes.

Resolves: #84173
Related: #84167
Releases: master, 8.7
Change-Id: Ia0eb60c42e920d66ce63afd0bd659c4b56d6d05b
Reviewed-on: https://review.typo3.org/56043
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php