diff options
author | D. V. Serg <dvserg@pfsense.org> | 2008-09-22 10:46:50 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2008-09-22 10:46:50 +0000 |
commit | 7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e (patch) | |
tree | 4fa1acef808c3efd30f4b1ca1a0b50ff4ea0e796 /packages/squidGuard/squidguard_configurator.inc | |
parent | 0a2cf79b6af12b974ffacafd1843fd66869fec78 (diff) | |
download | pfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.tar.gz pfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.tar.bz2 pfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.zip |
*** empty log message ***
Diffstat (limited to 'packages/squidGuard/squidguard_configurator.inc')
-rw-r--r-- | packages/squidGuard/squidguard_configurator.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squidGuard/squidguard_configurator.inc b/packages/squidGuard/squidguard_configurator.inc index d972ffaa..754cbc32 100644 --- a/packages/squidGuard/squidguard_configurator.inc +++ b/packages/squidGuard/squidguard_configurator.inc @@ -1787,7 +1787,7 @@ function is_ipaddr_valid($val) # ------------------------------------------------------------------------------ function is_domain_valid($domain) { - $dm_fmt = "([a-z][a-z0-9\-]{0,})"; + $dm_fmt = "([a-z0-9\-]{1,})"; $dm_fmt = "^(($dm_fmt{1,}\.){1,}$dm_fmt{2,})+$"; # example: (my.)(super.)(domain.)com return is_string($domain) && eregi($dm_fmt, trim($domain)); } |