summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea6207c)
raw | patch | inline | side by side (parent: ea6207c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 06:53:14 +0000 (06:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 06:53:14 +0000 (06:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1526 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHook.inc | patch | blob | history |
index 12bd2b123338730e4724eebeaf37dd463b31d6d9..06df397264b700a98d2d59ec1ed6d8ff3deff466 100644 (file)
$this->SubObjects[$object['cn'][0]][$codeIt]=base64_decode($this->SubObjects[$object['cn'][0]][$codeIt]);
}
+ foreach($this->subAttributes as $attrs){
+ $this->SubObjects[$object['cn'][0]][$attrs]=addslashes($this->SubObjects[$object['cn'][0]][$attrs]);
+ }
}
}
}
foreach($Objects as $name => $obj){
foreach($this->sub64coded as $codeIt){
- $obj[$codeIt]=base64_encode($obj[$codeIt]);
+ $obj[$codeIt]=base64_encode(stripslashes($obj[$codeIt]));
}
$tmp = array();
if(empty($obj[$attrs])){
$obj[$attrs] = array();
}
- $tmp[$attrs] = $obj[$attrs];
+ $tmp[$attrs] = stripslashes($obj[$attrs]);
}
$tmp['objectClass'] = $this->subClasses;