Hi guys.
I’m trying to deal with routes that include host part.
Here’s what I found:
$request->getHostInfo() at UrlRule::parseRequest() (line 201) returns http://example.com, but $this->pattern (a couple of lines lower) equals to #^example.com$#u so preg_match() fails.
There are no routing docs yet, so I suppose I can have missed something.
Here’s my test route:
array(
'host' => 'example.com',
'pattern' => '',
'route' => 'mycontroller/index',
),