diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-06-03 12:13:01 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-06-03 12:13:01 +0000 |
commit | 8fc412f26aa1b6e580b8aa200db79608b19aeae9 (patch) | |
tree | 3721ee848cc822fbde051ee602419b5a7afcb302 /phpBB/includes | |
parent | be8457d3c418441317177bfcdf7378410ac28d55 (diff) | |
download | forums-8fc412f26aa1b6e580b8aa200db79608b19aeae9.tar forums-8fc412f26aa1b6e580b8aa200db79608b19aeae9.tar.gz forums-8fc412f26aa1b6e580b8aa200db79608b19aeae9.tar.bz2 forums-8fc412f26aa1b6e580b8aa200db79608b19aeae9.tar.xz forums-8fc412f26aa1b6e580b8aa200db79608b19aeae9.zip |
#44955
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9529 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 027db39751..ee9867b1f1 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -2077,8 +2077,8 @@ function avatar_gallery($category, $avatar_select, $items_per_column, $block_var if (preg_match('#^[^&\'"<>]+\.(?:gif|png|jpe?g)$#i', $sub_file)) { $avatar_list[$file][$avatar_row_count][$avatar_col_count] = array( - 'file' => "$file/$sub_file", - 'filename' => $sub_file, + 'file' => rawurlencode ($file) . '/' . rawurlencode ($sub_file), + 'filename' => rawurlencode ($sub_file), 'name' => ucfirst(str_replace('_', ' ', preg_replace('#^(.*)\..*$#', '\1', $sub_file))), ); $avatar_col_count++; |