aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-04-17 15:58:31 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-04-17 15:58:31 +0000
commit77e21fc054abb722522e4694813149770980249a (patch)
tree91432af92254783f45dc30f2fdee1100223e73bb /phpBB/includes/session.php
parent9134cb217504dcd942045679c0c9e1aa1be0bedc (diff)
downloadforums-77e21fc054abb722522e4694813149770980249a.tar
forums-77e21fc054abb722522e4694813149770980249a.tar.gz
forums-77e21fc054abb722522e4694813149770980249a.tar.bz2
forums-77e21fc054abb722522e4694813149770980249a.tar.xz
forums-77e21fc054abb722522e4694813149770980249a.zip
encode imageset path in user->img (may not fix any other issues regarding style names with spaces) - #28885
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9465 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 9cf19e4302..6980277041 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -2180,7 +2180,7 @@ class user extends session
return $img_data;
}
- $img_data['src'] = $phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename'];
+ $img_data['src'] = $phpbb_root_path . 'styles/' . rawurlencode($this->theme['imageset_path']) . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename'];
$img_data['width'] = $this->img_array[$img]['image_width'];
$img_data['height'] = $this->img_array[$img]['image_height'];
}