zendframework/zf2 — pull request #1315 by SocalNick (2012-05-21 22:40:16+00:00)
Title: Hotfix: Tree route with hostname and query parts (2nd attempt)

After talking with DASPRiD, this pull request probably shouldn't have been merged: https://github.com/zendframework/zf2/pull/1242

This PR undoes some of those changes and corrects the real problem in the Query route.

In order for the TreeRouteStack to assemble relative URIs with query parts, I needed to add relative URI validation to Zend\Uri\Uri