[BUGFIX] Change getUrl() $report['content_type'] to string 57/56057/2
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 11:06:23 +0000 (12:06 +0100)
commit61c00881a5e1f6d14f48d28760c48da8fcdd5d00
tree4a2843865428b2a7b8d071dbc493ea1ecc991b03
parentc204adbedaecf43d3c4121906362cfefd538dffe
[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/56057
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php