Merge pull request #68 from skipperbent/development

[TASK] Fixed regex causing optional parameters to sometimes catch req…
This commit is contained in:
Simon Sessingø
2016-01-23 16:12:27 +01:00
+1 -1
View File
@@ -248,7 +248,7 @@ abstract class RouterEntry {
return new $name();
}
protected function parseParameters($route, $url, $parameterRegex = '[a-z0-9]+?') {
protected function parseParameters($route, $url, $parameterRegex = '[a-z0-9]+') {
$parameterNames = array();
$regex = '';
$lastCharacter = '';