Commit MetaInfo

修订版ef78541b4d7b6924953a03711d4d85e956602c51 (tree)
时间2017-10-24 02:48:49
作者umorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/657 Check is_page_readable(page) on editing

更改概述

差异

--- a/plugin/edit.inc.php
+++ b/plugin/edit.inc.php
@@ -18,6 +18,7 @@ function plugin_edit_action()
1818 $page = isset($vars['page']) ? $vars['page'] : '';
1919
2020 check_editable($page, true, true);
21+ check_readable($page, true, true);
2122
2223 if (isset($vars['preview'])) {
2324 return plugin_edit_preview($vars['msg']);
Show on old repository browser