diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-04-03 22:14:26 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2011-04-03 22:14:26 +0200 |
commit | f96cb431a9b47e06f4104dfc3d6ebd613ef0d733 (patch) | |
tree | 404d432b67912a25255ac0c6674c1f2d7285466d /phpBB/viewtopic.php | |
parent | 59d75c1ae6df1546da998a3748a82f14cde604b1 (diff) | |
download | forums-f96cb431a9b47e06f4104dfc3d6ebd613ef0d733.tar forums-f96cb431a9b47e06f4104dfc3d6ebd613ef0d733.tar.gz forums-f96cb431a9b47e06f4104dfc3d6ebd613ef0d733.tar.bz2 forums-f96cb431a9b47e06f4104dfc3d6ebd613ef0d733.tar.xz forums-f96cb431a9b47e06f4104dfc3d6ebd613ef0d733.zip |
[ticket/10121] Fix missing urlencode() for ICQ-number in viewtopic.php
PHPBB3-10121
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 80ba4d8a54..53da7f539f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1157,7 +1157,7 @@ while ($row = $db->sql_fetchrow($result)) if (!empty($row['user_icq'])) { - $user_cache[$poster_id]['icq'] = 'http://www.icq.com/people/' . $row['user_icq'] . '/'; + $user_cache[$poster_id]['icq'] = 'http://www.icq.com/people/' . urlencode($row['user_icq']) . '/'; $user_cache[$poster_id]['icq_status_img'] = '<img src="http://web.icq.com/whitepages/online?icq=' . $row['user_icq'] . '&img=5" width="18" height="18" alt="" />'; } else |