summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-04-09 20:07:01 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-04-09 20:07:01 +0000
commiteec5432a5e65e78c68f15dc7d559104af9761392 (patch)
treef00ae82446400325528a28e0f817c0bb5c1748ae
parentSome changes to deal with a potential problem the new random number generator... (diff)
downloadphpbb-eec5432a5e65e78c68f15dc7d559104af9761392.tar.gz
phpbb-eec5432a5e65e78c68f15dc7d559104af9761392.tar.bz2
phpbb-eec5432a5e65e78c68f15dc7d559104af9761392.zip
Address an issue with quoting messages for those with HTML enabled.
Note again that we recommend that you do not enable HTML git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5778 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions_post.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php
index a73ea20fa7..077da90cb6 100644
--- a/phpBB/includes/functions_post.php
+++ b/phpBB/includes/functions_post.php
@@ -65,6 +65,7 @@ function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid
}
$message = addslashes($message);
+ $message = str_replace('&quot;', '\&quot;', $message);
}
else
{