mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Fixed old vulnerability bug https://bugs.gentoo.org/show_bug.cgi?id=356615
This commit is contained in:
@@ -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
|
||||
|
||||
* Fixed made Smarty_Compiler.class.php compatible with PHP 5.5
|
||||
|
@@ -2122,7 +2122,7 @@ class Smarty_Compiler extends Smarty {
|
||||
return null;
|
||||
|
||||
case 'template':
|
||||
$compiled_ref = "'$this->_current_file'";
|
||||
$compiled_ref = "'" . addslashes($this->_current_file) . "'";
|
||||
$_max_index = 1;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user