fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
This commit is contained in:
parent
fb89cf1e4c
commit
6e0cfd908b
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user