diff options
author | natec <natec@users.sourceforge.net> | 2001-10-09 19:22:33 +0000 |
---|---|---|
committer | natec <natec@users.sourceforge.net> | 2001-10-09 19:22:33 +0000 |
commit | fe15c893cbb3d7bbf621a8dd19092e068a009201 (patch) | |
tree | e7de3e964ab14016320a7f45f94b84abc2d23e09 /phpBB | |
parent | ec3a90a9131cad9d7e790a08cac2ea4dae2df511 (diff) | |
download | forums-fe15c893cbb3d7bbf621a8dd19092e068a009201.tar forums-fe15c893cbb3d7bbf621a8dd19092e068a009201.tar.gz forums-fe15c893cbb3d7bbf621a8dd19092e068a009201.tar.bz2 forums-fe15c893cbb3d7bbf621a8dd19092e068a009201.tar.xz forums-fe15c893cbb3d7bbf621a8dd19092e068a009201.zip |
Fixed profile bug where website contains a hyphen
git-svn-id: file:///svn/phpbb/trunk@1141 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 783ddadb64..98d70b377c 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -132,7 +132,7 @@ function validate_optional_fields(&$icq, &$aim, &$msnm, &$yim, &$website, &$loca $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 = ""; } |