From c225268b5e6735e5a5aa80b2416363bb11955ae1 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 May 2010 07:30:17 +0000 Subject: [PATCH] =?utf8?q?Updated=20sudo=20plugin=20again=20-Removed=20?= =?utf8?q?=E2=80=99=20from=20the=20valid=20charaters=20list=20form=20sudoU?= =?utf8?q?ser,=20Host=20and=20RunAs?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18486 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc index c29c124e9..cb241e439 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoGeneric.inc @@ -325,7 +325,7 @@ class sudo extends plugin isset($_POST['new_'.$attr]) && !empty($_POST['new_'.$attr])){ - $c = preg_quote('’ *+-?_|!\'"()','/'); + $c = preg_quote(' *+-?_|!\'"()','/'); if(preg_match("/^[a-z0-9{$c}]*$/i",$_POST['new_'.$attr])){ $attrs = $this->$attr; $attrs[] = trim($_POST['new_'.$attr]); -- 2.30.2