diff options
author | Sem <sembrestels@riseup.net> | 2013-09-12 00:15:52 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-09-12 00:15:52 +0200 |
commit | 283106afa1fb6ff9984341b8911f90c5d4e4c4a2 (patch) | |
tree | 77e0b7a452501e310225ec51ba689d93db4c4111 /engine/lib | |
parent | 96fd62420124d8b22e9a368532240a5c5066d628 (diff) | |
download | elgg-283106afa1fb6ff9984341b8911f90c5d4e4c4a2.tar.gz elgg-283106afa1fb6ff9984341b8911f90c5d4e4c4a2.tar.bz2 |
Fixes #6052. Urldecoding usernames to allow non-alphanumeric characters.
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index 9a5194896..0b4608034 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -553,7 +553,7 @@ function get_user($guid) { function get_user_by_username($username) { global $CONFIG, $USERNAME_TO_GUID_MAP_CACHE; - $username = sanitise_string($username); + $username = sanitise_string(rawurldecode($username)); $access = get_access_sql_suffix('e'); // Caching |