We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6e0cfd90 authored by Evan Prodromou's avatar Evan Prodromou

fixup some nickname handling

parent fb89cf1e
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment