From: hickert Date: Mon, 31 Mar 2008 09:34:21 +0000 (+0000) Subject: Fixed Hook download X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e90e144b58ff94abd505307b1781813fe216c093;p=gosa.git Fixed Hook download git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc index 2cc27da2d..d509e4a27 100644 --- a/gosa-plugins/fai/admin/fai/class_faiHook.inc +++ b/gosa-plugins/fai/admin/fai/class_faiHook.inc @@ -202,7 +202,7 @@ class faiHook extends plugin if(isset($this->SubObjects[base64_decode($_GET['getFAIHook'])])){ $obj = $this->SubObjects[base64_decode($_GET['getFAIHook'])]; $obj = $this->get_object_attributes($obj,$this->sub_Load_Later); - send_binary_content($obj['FAIscript'],$obj['cn'].".FAIhook"); + send_binary_content(stripslashes($obj['FAIscript']),$obj['cn'].".FAIhook"); } }