aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-23 14:07:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-23 14:07:24 +0000
commitf8890cbb81bb6c9164e43641044adc3057820ae4 (patch)
tree0741127aa7d3b713b71d85fb2be5ec58e6f5b49a /phpBB
parentf47de039542b2726b0618a5960845f6fb0d386e9 (diff)
downloadforums-f8890cbb81bb6c9164e43641044adc3057820ae4.tar
forums-f8890cbb81bb6c9164e43641044adc3057820ae4.tar.gz
forums-f8890cbb81bb6c9164e43641044adc3057820ae4.tar.bz2
forums-f8890cbb81bb6c9164e43641044adc3057820ae4.tar.xz
forums-f8890cbb81bb6c9164e43641044adc3057820ae4.zip
urlencode image filenames used in img(). This is not needed, but better for XHTML compatibility.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8670 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 734fbaa070..958833ece7 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1603,6 +1603,7 @@ class user extends session
$localised_images = true;
}
+ $row['image_filename'] = rawurlencode($row['image_filename']);
$this->img_array[$row['image_name']] = $row;
}
$db->sql_freeresult($result);