ahwelp před 5 roky
rodič
revize
2c1d01abea
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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() {