Index: branches/5.2.x/core/kernel/processors/tag_processor.php
===================================================================
diff -u -N -r15601 -r15856
--- branches/5.2.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 15601)
+++ branches/5.2.x/core/kernel/processors/tag_processor.php (.../tag_processor.php) (revision 15856)
@@ -1,6 +1,6 @@
', "'+'script>", $ret);
+ $ret = kUtil::escape($ret, kUtil::ESCAPE_JS);
}
if ($flag_values['strip_nl']) {
// 1 - strip \r,\n; 2 - strip tabs too
@@ -329,7 +327,7 @@
{
// echo " prefix : $prefix
";
if (!isset($this->Prefixes[$prefix]))
- $this->Application->ApplicationDie ("Filepath and ClassName for prefix $prefix not defined while processing ".htmlspecialchars($tag->GetFullTag(), null, CHARSET)."!");
+ $this->Application->ApplicationDie ("Filepath and ClassName for prefix $prefix not defined while processing ".kUtil::escape($tag->GetFullTag())."!");
include_once($this->Prefixes[$prefix]['path']);
$ClassName = $this->Prefixes[$prefix]['class'];
$a_processor = new $ClassName($prefix);