Library for URL manipulation #207
Description
We should make use of a library when dealing with URL manipulation.
I found the MIT-Licensed http://uri.thephpleague.com/ , which however requires PHP 5.5.9+, mbstring and intl. So we can't use it for TYPO3 CMS 6.2.x which we still support with PHP 5.3.x.
Maybe we can use its predecessor in the meantime? http://url.thephpleague.com/installation/ It's unsupported and outdated, but it runs with PHP 5.3.0+, mbstring 3.1+
I'd like to have such a lib shipped with TYPO3, but at least for 6.2.x we have to deal with what we get. And there's good reasons to avoid external dependencies for 6.2.x, like we have it as of today.
I was also thinking about writing a small and testable lib by ourselves which at least meets our needs for the meantime. At least would we not have to deal with external dependencies, PHP versions, TYPO3 6.2 package distribution and autoloading issues and so on. Plus, would we be independent from others until we can use their solutions.
Further suggestions are welcome.
Related: #110, #141, #200, #201, #203, #354, #355, #357 and tons of untestable string operation code.