aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorD. V. Serg <dvserg@pfsense.org>2008-09-22 10:46:50 +0000
committerD. V. Serg <dvserg@pfsense.org>2008-09-22 10:46:50 +0000
commit7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e (patch)
tree4fa1acef808c3efd30f4b1ca1a0b50ff4ea0e796 /packages
parent0a2cf79b6af12b974ffacafd1843fd66869fec78 (diff)
downloadpfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.tar.gz
pfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.tar.bz2
pfsense-packages-7928fdd5d594c3e8c7ec5d8df161709fd7ce1b8e.zip
*** empty log message ***
Diffstat (limited to 'packages')
-rw-r--r--packages/squidGuard/squidguard_configurator.inc2
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));
}