This commit is contained in:
Uwe.Tews@googlemail.com
2013-09-30 19:14:32 +00:00
parent bbe4890b89
commit 4129665748
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2013-09-30
* Fixed old vulnerability bug https://bugs.gentoo.org/show_bug.cgi?id=356615
2013-07-16 Uwe Tews 2013-07-16 Uwe Tews
* Fixed made Smarty_Compiler.class.php compatible with PHP 5.5 * Fixed made Smarty_Compiler.class.php compatible with PHP 5.5

View File

@@ -2122,7 +2122,7 @@ class Smarty_Compiler extends Smarty {
return null; return null;
case 'template': case 'template':
$compiled_ref = "'$this->_current_file'"; $compiled_ref = "'" . addslashes($this->_current_file) . "'";
$_max_index = 1; $_max_index = 1;
break; break;