From e186a76b821953669e5a97399306c2ae1795aef9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 27 Aug 2005 23:21:40 +0000 Subject: [PATCH] Allow underscores in paths --- includes/paths.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/paths.php b/includes/paths.php index c887fb4..101905e 100644 --- a/includes/paths.php +++ b/includes/paths.php @@ -240,7 +240,7 @@ class Paths */ function sanitize($path) { - return preg_replace('#[^a-z0-9\./\-]*#i', '', $path); + return preg_replace('#[^a-z0-9\./\-_]*#i', '', $path); } } -- 2.43.5