Issue Type: Bug Created: 2012-08-01T02:46:08.000+0000 Last Updated: 2012-10-08T20:15:04.000+0000 Status: Closed Fix version(s): Reporter: Éric Ortega (rixo) Assignee: Ben Scholzen (dasprid) Tags: - Zend\Mvc\Router
Related issues: Attachments:
For example, the following code:
$request = new \Zend\Http\PhpEnvironment\Request; $route = new \Zend\Mvc\Router\Http\Literal(''); $route->match($request, strlen($request->getBaseUrl()));
Will raise the following error:
Fatal error: Uncaught PHP error with message: 'strpos(): Empty delimiter' in ... /Zend/Mvc/Router/Http/Literal.php:99
It is possible to workaround this problem with an empty Regex route.
Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:04.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2511
Have you found an issue?
See the Overview section for more details.