# HG changeset patch # User Dan # Date 1234807295 18000 # Node ID 87fcc7175c610aae596ae722f1e0d40e438128e2 # Parent c5bca53b857afc3a552fdf351baaaf8d800118b8 Fixed https urls not allowed in user_extra CPs; fixed nonworking password reset in admin CP diff -r c5bca53b857a -r 87fcc7175c61 plugins/SpecialUserPrefs.php --- a/plugins/SpecialUserPrefs.php Mon Jan 26 11:45:48 2009 -0500 +++ b/plugins/SpecialUserPrefs.php Mon Feb 16 13:01:35 2009 -0500 @@ -431,7 +431,7 @@ $imaddr_msn = "$imaddr_msn@hotmail.com"; } - if ( substr($homepage, 0, 7) != 'http://' ) + if ( !preg_match('#^https?://#', $homepage) ) { $homepage = "http://$homepage"; }