mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
Fixed profile bug where website contains a hyphen
git-svn-id: file:///svn/phpbb/trunk@1141 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -132,7 +132,7 @@ function validate_optional_fields(&$icq, &$aim, &$msnm, &$yim, &$website, &$loca
|
|||||||
$website = "http://" . $website;
|
$website = "http://" . $website;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!preg_match("#^http\\:\\/\\/[a-z0-9]+\.[a-z0-9]+#i", $website))
|
if (!preg_match("#^http\\:\\/\\/[a-z0-9\-]+\.[a-z0-9\-]+#i", $website))
|
||||||
{
|
{
|
||||||
$website = "";
|
$website = "";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user