Issue Bug Closed

#88125HttpUtility::buildQueryString doesn't seem to be proper for additionalParams

Dirk Wildt 04/10/19, 09:39 updated 04/24/19, 12:31

Description

AbstractPlugin->pi_linkTP() is using the Method HttpUtility::buildQueryString for rendering additionalParams.
This causes a bug, additionalParams won’t rendered any longer.

HttpUtility::buildQueryString returns for example: &%5Btx_xblog_pi1%5Bplugin%5D%5D=732
But the proper rezurn must be for example: &tx_xblog_pi1[plugin]=732

If you replace HttpUtility::buildQueryString( $urlParameters, ‘&’, true ) with GeneralUtility::implodeArrayForUrl( ‘’, $urlParameters, ‘’, true ) everything runs fine.
TYPO3 8.7 has used GeneralUtility::implodeArrayForUrl.

class: TYPO3\CMS\Frontend\Plugin\AbstractPlugin
function: pi_linkTP($str, $urlParameters = [], $cache = false, $altPageId = 0)

Kind regards
Dirk

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.