summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 13:50:22 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 13:50:22 -0400
commit6e0cfd908b68897195e2b40916fab4268edd67d9 (patch)
treed5de4f50a8c042cb1c38d100254efdd1e818483b
parentfb89cf1e4c5229eda9c89b5f30d090d45a7c93d4 (diff)
fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
-rw-r--r--actions/register.php2
-rw-r--r--lib/common.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/register.php b/actions/register.php
index 1f470ccc0..2b41b6a77 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -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);
diff --git a/lib/common.php b/lib/common.php
index 3e33896a1..b6e01a096 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -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