TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,26 @@
.. include:: /Includes.rst.txt
.. _feature-83334:
========================================================
Feature: #83334 - Add improved building of query strings
========================================================
See :issue:`83334`
Description
===========
The method :php:`\TYPO3\CMS\Core\Utility\HttpUtility::buildQueryString()` has been added as an enhancement to the `PHP function`_ :php:`http_build_query()`.
It implodes multidimensional parameter arrays and properly encodes parameter names as well as values to a valid query string.
with an optional prepend of :php:`?` or :php:`&` If the query is not empty, `?` or `&` are prepended in the correct sequence.
Empty parameters are skipped.
.. _`PHP function`: https://secure.php.net/manual/de/function.http-build-query.php
Impact
======
Parameter arrays can be safely transformed into HTTP GET query strings using the new method.
.. index:: PHP-API