Fixed username not being decoded in Special:ActivateAccount
authorDan
Wed, 17 Mar 2010 14:21:46 -0400
changeset 1222 d1ded7b4c775
parent 1221 d8c6b8d49604
child 1223 7dca925b0209
Fixed username not being decoded in Special:ActivateAccount
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Mon Feb 08 17:04:43 2010 -0500
+++ b/plugins/SpecialUserFuncs.php	Wed Mar 17 14:21:46 2010 -0400
@@ -1293,6 +1293,7 @@
   {
     die_friendly($lang->get('userfuncs_activate_err_badlink_title'), '<p>' . $lang->get('userfuncs_activate_err_badlink_body') . '</p>');
   }
+  $user = str_replace('_', ' ', dirtify_page_id($user));
   $key = $paths->getParam(1);
   if ( !$key )
   {