|
From: Nathan C. <na...@us...> - 2001-10-09 19:22:36
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv6351
Modified Files:
profile.php
Log Message:
Fixed profile bug where website contains a hyphen
Index: profile.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/profile.php,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -r1.105 -r1.106
*** profile.php 2001/10/06 00:59:02 1.105
--- profile.php 2001/10/09 19:22:33 1.106
***************
*** 133,137 ****
}
! if (!preg_match("#^http\\:\\/\\/[a-z0-9]+\.[a-z0-9]+#i", $website))
{
$website = "";
--- 133,137 ----
}
! if (!preg_match("#^http\\:\\/\\/[a-z0-9\-]+\.[a-z0-9\-]+#i", $website))
{
$website = "";
|