shish 1 ano atrás
pai
commit
93f9d212ec
1 arquivos alterados com 0 adições e 5 exclusões
  1. 0 5
      common/components/baseController.php

+ 0 - 5
common/components/baseController.php

@@ -67,11 +67,6 @@ class baseController extends Controller
             '/<\?php/i',
             '/<\?php/i',
             '/<\?=/i',
             '/<\?=/i',
             '/<\?/i',
             '/<\?/i',
-
-            // 序列化攻击
-            '/O:\d+:/',
-            '/a:\d+:/',
-            '/s:\d+:/',
         ];
         ];
 
 
         foreach (['get', 'post'] as $method) {
         foreach (['get', 'post'] as $method) {