From 43cbfb0ff39b3719ba3390644f21f34b943732e6 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 11 Sep 2010 11:42:05 +0000 Subject: [PATCH] added file path to get_preg() --- lam/lib/account.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 715bee9c..2e0e25d9 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -415,6 +415,7 @@ function get_preg($argument, $regexp) { $pregexpr = '/^[^\\\<>=\\$\\?]*$/'; break; case "homeDirectory": // Homapath, /path/...... + case "filePath": $pregexpr = '/^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u'; break; case "digit": // Normal number