From da59d3b21f7775153d1946b1d67585393e8316b4 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 14 Feb 2012 11:50:48 +0000 Subject: Option exec (modifier /e) to it::replace has been removed for security reasons --- it.class | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 4d6d875..e31afd1 100644 --- a/it.class +++ b/it.class @@ -323,12 +323,14 @@ static function convertregex($pattern, $p = array()) if (!$p['casesensitive']) $modifiers .= 'i'; + if ($p['exec']) + it::fatal("Option exec to it::replace has been removed for security reasons"); + foreach (array( 'multiline' => 'm', 'singleline' => 's', 'utf8' => 'u', 'extended' => 'x', - 'exec' => 'e', ) as $key => $mod) { if ($p[$key]) -- cgit v1.2.3