From e91294fb9447f8587203e2219bfab4f4cb563348 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 18 Jan 2006 06:50:19 +0000 Subject: [PATCH] Allow sepecial chars in attachment dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2510 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_glpiAttachmentPool.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_glpiAttachmentPool.inc b/plugins/admin/systems/class_glpiAttachmentPool.inc index fcfa664a1..b41d4a0b9 100644 --- a/plugins/admin/systems/class_glpiAttachmentPool.inc +++ b/plugins/admin/systems/class_glpiAttachmentPool.inc @@ -157,7 +157,7 @@ class glpiAttachmentPool extends plugin */ if($this->edit == true){ foreach($this->attributes as $attr){ - $smarty->assign($attr,$this->$attr); + $smarty->assign($attr,htmlentities($this->$attr)); } if(!empty($this->filename)){ if(is_readable("/etc/gosa/glpi/".$this->filename)){ -- 2.30.2