fixup some nickname handling

darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
This commit is contained in:
Evan Prodromou 2008-05-17 13:50:22 -04:00
parent fb89cf1e4c
commit 6e0cfd908b
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class RegisterAction extends Action {
$password = $this->arg('password');
$confirm = $this->arg('confirm');
$email = $this->arg('email');
# Input scrubbing
$nickname = common_canonical_nickname($nickname);

View File

@ -240,7 +240,7 @@ function common_current_user() {
# get canonical version of nickname for comparison
function common_canonical_nickname($nickname) {
# XXX: UTF-8 canonicalization (like combining chars)
return strtolower($nickname);
return $nickname;
}
# get canonical version of email for comparison