mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Cosmetics: regression due to an unnecessary protection against XSS attacks
SVN:trunk[1519]
This commit is contained in:
@@ -174,25 +174,25 @@ h3.clickable.open {
|
|||||||
}
|
}
|
||||||
public function info($sText)
|
public function info($sText)
|
||||||
{
|
{
|
||||||
$this->add("<p class=\"info\">".htmlentities($sText, ENT_COMPAT, 'UTF-8')."</p>\n");
|
$this->add("<p class=\"info\">$sText</p>\n");
|
||||||
$this->log_info($sText);
|
$this->log_info($sText);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ok($sText)
|
public function ok($sText)
|
||||||
{
|
{
|
||||||
$this->add("<p class=\"ok\">".htmlentities($sText, ENT_COMPAT, 'UTF-8')."</p>\n");
|
$this->add("<p class=\"ok\">$sText</p>\n");
|
||||||
$this->log_ok($sText);
|
$this->log_ok($sText);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function warning($sText)
|
public function warning($sText)
|
||||||
{
|
{
|
||||||
$this->add("<p class=\"warning\">".htmlentities($sText, ENT_COMPAT, 'UTF-8')."</p>\n");
|
$this->add("<p class=\"warning\">$sText</p>\n");
|
||||||
$this->log_warning($sText);
|
$this->log_warning($sText);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function error($sText)
|
public function error($sText)
|
||||||
{
|
{
|
||||||
$this->add("<p class=\"error\">".htmlentities($sText, ENT_COMPAT, 'UTF-8')."</p>\n");
|
$this->add("<p class=\"error\">$sText</p>\n");
|
||||||
$this->log_error($sText);
|
$this->log_error($sText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user