Regex fixing
This commit is contained in:
@@ -195,7 +195,7 @@ class Route {
|
||||
}
|
||||
}
|
||||
$this->_regex = ltrim($this->_regex, '\/');
|
||||
$this->_regex = "/\/" . $this->_regex . "$/";
|
||||
$this->_regex = "/^\/" . $this->_regex . "$/";
|
||||
}
|
||||
|
||||
function createIndexes() {
|
||||
|
||||
Reference in New Issue
Block a user