mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Merge branch 'master' of https://github.com/top-think/think
This commit is contained in:
@@ -288,6 +288,9 @@ class Input
|
||||
*/
|
||||
private static function regexFilter($input, $filter)
|
||||
{
|
||||
if(empty($filter_)){
|
||||
return null;
|
||||
}
|
||||
$begin = $filter[0];
|
||||
$end = $filter[strlen($filter) - 1];
|
||||
if (is_array($input)) {
|
||||
|
||||
@@ -19,6 +19,7 @@ class Route
|
||||
'POST' => [],
|
||||
'PUT' => [],
|
||||
'DELETE' => [],
|
||||
'HEAD' => [],
|
||||
'*' => [],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user