From 1ccfbbde8db7856035108f38c152aac485eca478 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 21 Sep 2006 16:27:52 +0000 Subject: [PATCH] allow / at the end of homedir --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index bdc6968f..8b406ae3 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -499,7 +499,7 @@ function get_preg($argument, $regexp) { $pregexpr = '/^[^\\\<>=\\$\\?]*$/'; break; case "homeDirectory": // Homapath, /path/...... - $pregexpr = '/^([\/]([[:alnum:]\\$\\.\\ \\_-])+)+$/u'; + $pregexpr = '/^([\/]([[:alnum:]\\$\\.\\ \\_-])+)+(\/)?$/u'; break; case "digit": // Normal number $pregexpr = '/^[[:digit:]]*$/';