ソースを参照

fix the authorized ip regex

Olivier Massot 5 年 前
コミット
8f77e6638c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      ot_admin/Classes/Http/ApiController.php

+ 1 - 1
ot_admin/Classes/Http/ApiController.php

@@ -17,7 +17,7 @@ class ApiController implements LoggerAwareInterface
     const ALLOWED_IPS = [
         '/^127\.0\.0\.[0-1]$/',
         '/^localhost$/',
-        '/^10\.8\.0\.[0-255]$/'
+        '/^10\.8\.0\.\d{1,3}$/'
     ];
 
     /**