[FEATURE] Integrate possibility to build URL
authorAndreas Wolf <andreas.wolf@ikt-werk.de>
Wed, 8 Feb 2012 13:05:53 +0000 (14:05 +0100)
committerOliver Hader <oliver@typo3.org>
Wed, 8 Feb 2012 18:27:23 +0000 (19:27 +0100)
commit3340dbbfcebdfecac70fcd68045b723e39a9a66a
treeb860f17f15902f45b78418abf3e1031f969731a7
parent7ab37ff9b20b600af5e49ac6531f141eb954af4f
[FEATURE] Integrate possibility to build URL

The PHP function parse_url() allows to split up URLs into
separate parts. However, TYPO3 lacks of the possibility to
build an URL with the same arguments.

Example (round-trip):
$url = t3lib_utility_Http::buildUrl(
  parse_url('http://typo3.org/')
);

Change-Id: Ie56128261527a2b5a568ca7b05f522b13ac3cf98
Resolves: #33767
Releases: 4.7
Reviewed-on: http://review.typo3.org/8909
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
t3lib/utility/class.t3lib_utility_http.php
tests/t3lib/utility/class.t3lib_utility_httpTest.php [new file with mode: 0644]