diff --git a/bundled-libs/Smarty/NEWS b/bundled-libs/Smarty/NEWS index fa550ff1..19d9082b 100644 --- a/bundled-libs/Smarty/NEWS +++ b/bundled-libs/Smarty/NEWS @@ -1,3 +1,22 @@ +Version 2.6.21 (Dec 2nd, 2008) +------------------------------ + +- fix function injection security hole closed (U.Tews) +- fix pass expiration time at cache_handler_fuc call in core.write_cache_file.php (U.Tews) +- Update of compiler.class.php to allow method chaining for PHP4 and PHP5 (U.Tews) + +Version 2.6.20 (Feb 15th, 2008) +------------------------------- + +- fix cache tag bug when multiple cache tags on a page (mankyd, + mohrt) +- fix /e tag checking when using arrays with regex_replace + (mohrt) +- fix that function results can be used with condition like "is even" in + {if} tags (U.Tews) +- fix handling of non-empty
-tags and empty !is", $source, $match);
+    preg_match_all("!]*?>.*?!is", $source, $match);
     $_textarea_blocks = $match[0];
-    $source = preg_replace("!]+>.*?!is",
+    $source = preg_replace("!]*?>.*?!is",
                            '@@@SMARTY:TRIM:TEXTAREA@@@', $source);
 
     // remove all leading spaces, tabs and carriage returns NOT