zendframework/zf2 — pull request #595 by hectorbenitez (2011-11-13 04:56:24+00:00)
Title: Patch to TreeRouteStack

Cannot resolve baseUrl correctly using TreeRouteStack in a project without a virtualhost, this is a patch.

if baseurl is null but the request has a method to obtain it, do getBaseUrl and inside detectBaseUrl