[icinga-checkins] icinga.org: icingaweb2/feature/announce-banner-11198: Allow table header in pluginoutput

git at icinga.org git at icinga.org
Fri Nov 4 10:50:04 CET 2016


Module: icingaweb2
Branch: feature/announce-banner-11198
Commit: 647e404c8f6d8bf309adbbf28c89eeb345baf0aa
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=647e404c8f6d8bf309adbbf28c89eeb345baf0aa

Author: Bernhard Friedreich <bernhard.friedreich at brz.gv.at>
Date:   Thu Sep 15 17:49:27 2016 +0200

Allow table header in pluginoutput

resolves #12125

Signed-off-by: Eric Lippmann <eric.lippmann at icinga.com>

---

 modules/monitoring/application/views/helpers/PluginOutput.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/monitoring/application/views/helpers/PluginOutput.php b/modules/monitoring/application/views/helpers/PluginOutput.php
index 4381e5b..457938a 100644
--- a/modules/monitoring/application/views/helpers/PluginOutput.php
+++ b/modules/monitoring/application/views/helpers/PluginOutput.php
@@ -179,7 +179,7 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
 
             $config = HTMLPurifier_Config::createDefault();
             $config->set('Core.EscapeNonASCIICharacters', true);
-            $config->set('HTML.Allowed', 'p,br,b,a[href|target],i,table,tr,td[colspan],div,*[class]');
+            $config->set('HTML.Allowed', 'p,br,b,a[href|target],i,table,tr,th,td[colspan],div,*[class]');
             $config->set('Attr.AllowedFrameTargets', array('_blank'));
             // This avoids permission problems:
             // $config->set('Core.DefinitionCache', null);



More information about the icinga-checkins mailing list