diff --git a/server/tempest/Tempest/Utils/Path.php b/server/tempest/Tempest/Utils/Path.php index 10e03cf..6ea6fdc 100644 --- a/server/tempest/Tempest/Utils/Path.php +++ b/server/tempest/Tempest/Utils/Path.php @@ -50,7 +50,7 @@ class Path /** * A regex pattern that matches one or more sequential forward or back slashes. */ - const PATTERN_SLASHES = '/[\/\\\\]+/'; + const PATTERN_SLASHES = '/(?!^)[\/\\\\]+/'; /**