aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorJim Wigginton <terrafrost@phpbb.com>2009-02-26 23:46:46 +0000
committerJim Wigginton <terrafrost@phpbb.com>2009-02-26 23:46:46 +0000
commit2e50df9e1a140f322e091d74500e05b6545a54e1 (patch)
tree15ab2bfacfaebfeedb862deed1ce56d6df2b53cf /phpBB/includes/message_parser.php
parent354f9edd4e747b6927a8b2c1e454be1c366cf232 (diff)
downloadforums-2e50df9e1a140f322e091d74500e05b6545a54e1.tar
forums-2e50df9e1a140f322e091d74500e05b6545a54e1.tar.gz
forums-2e50df9e1a140f322e091d74500e05b6545a54e1.tar.bz2
forums-2e50df9e1a140f322e091d74500e05b6545a54e1.tar.xz
forums-2e50df9e1a140f322e091d74500e05b6545a54e1.zip
Fixed bug #'ers 41295, 41385, 41955, 41705 and 41985
Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9342 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index b97a055fde..bbe7cb5fa8 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -706,7 +706,7 @@ class bbcode_firstpass extends bbcode
}
// To let the parser not catch tokens within quote_username quotes we encode them before we start this...
- $in = preg_replace('#quote=&quot;(.*?)&quot;\]#ie', "'quote=&quot;' . str_replace(array('[', ']'), array('&#91;', '&#93;'), '\$1') . '&quot;]'", $in);
+ $in = preg_replace('#quote=&quot;(.*?)&quot;\]#ie', "'quote=&quot;' . str_replace(array('[', ']', '\\\"'), array('&#91;', '&#93;', '\"'), '\$1') . '&quot;]'", $in);
$tok = ']';
$out = '[';