[pLog-svn] r3606 - plog/trunk/class/net/http
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sun Jun 18 02:21:18 GMT 2006
Author: jondaley
Date: 2006-06-18 02:21:17 +0000 (Sun, 18 Jun 2006)
New Revision: 3606
Modified:
plog/trunk/class/net/http/subdomains.class.php
Log:
we were using a username validator for domain names. And usernames don't accept periods.
Modified: plog/trunk/class/net/http/subdomains.class.php
===================================================================
--- plog/trunk/class/net/http/subdomains.class.php 2006-06-18 02:20:40 UTC (rev 3605)
+++ plog/trunk/class/net/http/subdomains.class.php 2006-06-18 02:21:17 UTC (rev 3606)
@@ -126,8 +126,8 @@
// Use forbidden_usernames for domains as well, since they are related
// in that we don't want people to register www.xyz or forums.xyz
// through these subdomains either
- include_once( PLOG_CLASS_PATH."class/data/validator/usernamevalidator.class.php" );
- $val = new UsernameValidator();
+ include_once( PLOG_CLASS_PATH."class/data/validator/domainvalidator.class.php" );
+ $val = new DomainValidator();
return( $val->validate( $domain ));
}
}
More information about the pLog-svn
mailing list