aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-09-12 00:15:52 +0200
committerSem <sembrestels@riseup.net>2013-09-12 00:15:52 +0200
commit283106afa1fb6ff9984341b8911f90c5d4e4c4a2 (patch)
tree77e0b7a452501e310225ec51ba689d93db4c4111 /engine/lib
parent96fd62420124d8b22e9a368532240a5c5066d628 (diff)
downloadelgg-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.php2
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