[xiph-commits] r14691 - branches/dir.xiph.org/cronjobs

balbinus at svn.xiph.org balbinus at svn.xiph.org
Thu Apr 10 08:19:36 PDT 2008


Author: balbinus
Date: 2008-04-10 08:19:36 -0700 (Thu, 10 Apr 2008)
New Revision: 14691

Modified:
   branches/dir.xiph.org/cronjobs/check_servers.php
Log:
Don't bother checking those either.

Modified: branches/dir.xiph.org/cronjobs/check_servers.php
===================================================================
--- branches/dir.xiph.org/cronjobs/check_servers.php	2008-04-10 12:47:09 UTC (rev 14690)
+++ branches/dir.xiph.org/cronjobs/check_servers.php	2008-04-10 15:19:36 UTC (rev 14691)
@@ -27,7 +27,8 @@
         // Now, verify!
         if (empty($url['scheme']) || $url['scheme'] != 'http'
             || !array_key_exists('host', $url)
-            || !preg_match('/^.*[A-Za-z0-9\-]+\.[A-Za-z0-9]+$/', $url['host']))
+            || !preg_match('/^.*[A-Za-z0-9\-]+\.[A-Za-z0-9]+$/', $url['host'])
+            || preg_match('/^(10\.|192\.168\.|127\.)/', $url['host']))
         {
             throw new ToDeleteException();
         }



More information about the commits mailing list