From e3f72287864d1e34e699c2d87ea03bbde1e9846e Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Mar 2008 09:37:21 +0000 Subject: [PATCH] Updated FAI tempalte download -Do not strip slashes from templates. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10053 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiTemplate.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc index 9015ba878..23f43c33e 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc @@ -102,13 +102,12 @@ class faiTemplate extends plugin if(in_array_ics($attrs,$this->sub64coded)){ $var = base64_decode($var); } + $var = stripslashes($var); /* check if this is a binary entry */ if(in_array_ics($attrs,$this->subBinary)){ $var = $ldap->get_attribute($object['dn'], $attrs,$r_array=0); } - - $var = stripslashes($var); $object[$attrs] = $var; } -- 2.30.2