diff options
author | Christian Schneider | 2012-02-14 11:50:48 +0000 |
---|---|---|
committer | Christian Schneider | 2012-02-14 11:50:48 +0000 |
commit | da59d3b21f7775153d1946b1d67585393e8316b4 (patch) | |
tree | 6ebccbab2320e8879552235da6d3850e725b18d0 | |
parent | 0a6849fc31206318d6a86a0ccfff48556934c486 (diff) | |
download | itools-da59d3b21f7775153d1946b1d67585393e8316b4.tar.gz itools-da59d3b21f7775153d1946b1d67585393e8316b4.tar.bz2 itools-da59d3b21f7775153d1946b1d67585393e8316b4.zip |
Option exec (modifier /e) to it::replace has been removed for security reasons
-rw-r--r-- | it.class | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]) |