当把变量当成数组提交时,如果不存在该数组,但存在变量,后面的preg_match()正则表达式匹配不了, 这样就出现了绝对路径的泄露 Discuz!5.2 Discuz!5.1 Discuz!4.1 Discuz!4.0 <a href=\"http://www.discuz.net/\" target=\"_blank\">http://www.discuz.net/</a><br><br> 打开论坛 include 目录下的 common.inc.php<br> $extra = isset($extra) && preg_match<br> 改成<br> $extra = isset($extra) && @preg_match<br>
当把变量当成数组提交时,如果不存在该数组,但存在变量,后面的preg_match()正则表达式匹配不了, 这样就出现了绝对路径的泄露 Discuz!5.2 Discuz!5.1 Discuz!4.1 Discuz!4.0 <a href=\"http://www.discuz.net/\" target=\"_blank\">http://www.discuz.net/</a><br><br> 打开论坛 include 目录下的 common.inc.php<br> $extra = isset($extra) && preg_match<br> 改成<br> $extra = isset($extra) && @preg_match<br>