ahwelp %!s(int64=5) %!d(string=hai) anos
pai
achega
2c1d01abea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Routes/Route.php

+ 1 - 1
src/Routes/Route.php

@@ -195,7 +195,7 @@ class Route {
             }
         }
         $this->_regex = ltrim($this->_regex, '\/');
-        $this->_regex = "/\/" . $this->_regex . "$/";
+        $this->_regex = "/^\/" . $this->_regex . "$/";
     }
 
     function createIndexes() {