Deprecation: #84171 - Adding GeneralUtility::getUrl RequestHeaders as non-associative array are deprecated

See forge#84171


RequestHeaders passed to getUrl() as string (format Header:Value) have been marked as deprecated. Associative arrays should be used instead.


Using GeneralUtility::getUrl() request headers in a non-associative way will trigger an E_USER_DEPRECATED PHP error.

Affected Installations

All using request headers for GeneralUtility::getUrl() in a non-associative way.


Use associative arrays, for example:

$headers = ['Content-Language: de-DE'];

will become

$headers = ['Content-Language' => 'de-DE'];