]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup some nickname handling
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 17:50:22 +0000 (13:50 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 17:50:22 +0000 (13:50 -0400)
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz

actions/register.php
lib/common.php

index 1f470ccc0dc8925495701ed82d4bb352d27a7e2c..2b41b6a77a7451d64105090124a5e6fd8237dc6c 100644 (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);
index 3e33896a10a162c6594bb0876122154f39c920b5..b6e01a09625a3e21b10bb3917e5350f3716d9e53 100644 (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