From e90e144b58ff94abd505307b1781813fe216c093 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 31 Mar 2008 09:34:21 +0000 Subject: [PATCH] Fixed Hook download git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiHook.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } -- 2.30.2