[BUGFIX] Ensure correct URL generation with http_build_query() 64/52964/2
authorMarkus Klein <markus.klein@typo3.org>
Wed, 24 May 2017 12:09:42 +0000 (14:09 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 29 May 2017 17:55:46 +0000 (19:55 +0200)
commit2a0866459f88f314b7ead18e6d73f12ac8adecba
tree69b51cc7113f462389e2772ac8d92ffe3d9dfd7a
parent15dbdfa390d9707048091d9d0dfc9de0abd6ea85
[BUGFIX] Ensure correct URL generation with http_build_query()

http_build_query() internally uses the PHP setting arg-separator.output
to identify the URL parameter separator.
This does not seem appropriate for URLs generated by TYPO3.

Use the optional parameters of http_build_query() to get the desired
functionality.

Releases: master, 8.7, 7.6
Resolves: #81366
Change-Id: Ie2df9207b1967257d6327ff1103503e6a58d5cdf
Reviewed-on: https://review.typo3.org/52964
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
typo3/sysext/core/Classes/LinkHandling/PageLinkHandler.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php