[BUGFIX] Ensure correct URL generation with http_build_query() 34/52934/4
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:23 +0000 (19:55 +0200)
commit78c524a72622309340e42915cf4cbeb1e6ed5cde
tree3f6fbc979ffaa278454ab5331fe91f6d60f02d86
parent6c088910d12a9589b53a45c655696c750cc83bc3
[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/52934
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
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