diff options
author | Sem <sembrestels@riseup.net> | 2012-12-13 03:10:14 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-12-13 03:10:14 +0100 |
commit | d3b87c92a0413fc4042e3582f678d9b5938a3508 (patch) | |
tree | 15c09f9c16eaa9a3b4bb7bbeefd6dcaf9a0ec5e9 /engine | |
parent | 6623571b615fc5c9d1b82e2607de4cdaee8a818b (diff) | |
download | elgg-d3b87c92a0413fc4042e3582f678d9b5938a3508.tar.gz elgg-d3b87c92a0413fc4042e3582f678d9b5938a3508.tar.bz2 |
Urldecoding username when getting from url.
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/pageowner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/pageowner.php b/engine/lib/pageowner.php index 0cf0e0625..4d818797f 100644 --- a/engine/lib/pageowner.php +++ b/engine/lib/pageowner.php @@ -128,7 +128,7 @@ function default_page_owner_handler($hook, $entity_type, $returnvalue, $params) switch ($segments[1]) { case 'owner': case 'friends': - $user = get_user_by_username($segments[2]); + $user = get_user_by_username(urldecode($segments[2])); if ($user) { return $user->getGUID(); } |