Deleted GET from admin_loader
This commit is contained in:
parent
73da1ec46e
commit
318be89a8a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ if (!$pun_user['is_admmod'])
|
|||
message($lang_common['No permission'], false, '403 Forbidden');
|
||||
|
||||
// The plugin to load should be supplied via GET
|
||||
$plugin = isset($_GET['plugin']) ? $_GET['plugin'] : '';
|
||||
$plugin = $container->get('Request')->getStr('plugin');
|
||||
if (!preg_match('%^AM?P_(\w*?)\.php$%iD', $plugin))
|
||||
message($lang_common['Bad request'], false, '404 Not Found');
|
||||
|
||||
|
|
Loading…
Reference in a new issue