zendframework/zf2 — pull request #2102 by heiglandreas (2012-08-03 06:17:10+00:00)
Title: Refactores UriFactory

UriFactory::factory now creates an URI without instantiating an Uri-Object to retrieve the scheme.

If no scheme is found in the URI-string (for instance when passing a relative URI) a defaultScheme can be given, that will force creation of an URI object for the given scheme.

This will only be used when no scheme can be detected in the URI-string!