diff --git a/tests/RouterTest.php b/tests/RouterTest.php index ecc31cf..674b73e 100644 --- a/tests/RouterTest.php +++ b/tests/RouterTest.php @@ -52,6 +52,8 @@ class RouterTest extends TestCase { $this->assertEquals([1 => 'etc', 2 => 'passwd'], \PhangoApp\PhaRouter\filter_path('/...../etc/passwd')); + $this->assertEquals([1 => 'etc', 2 => 'passwd'], \PhangoApp\PhaRouter\filter_path('/../../etc/passwd')); + } }