aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-14 20:19:28 -0700
committerfriendica <info@friendica.com>2014-08-14 20:19:28 -0700
commit21adbad4c1a0f9a7953c3c011a3669d09cfc2bb4 (patch)
treea7275c52802814179e897583b9271bc9842de983
parentb9dffa91073c2d20f81562c5d79fa9c0546aa6df (diff)
downloadvolse-hubzilla-21adbad4c1a0f9a7953c3c011a3669d09cfc2bb4.tar.gz
volse-hubzilla-21adbad4c1a0f9a7953c3c011a3669d09cfc2bb4.tar.bz2
volse-hubzilla-21adbad4c1a0f9a7953c3c011a3669d09cfc2bb4.zip
in HTML email notifications, angle brackets in posts were unescaped - including those in code blocks.
-rw-r--r--include/enotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/enotify.php b/include/enotify.php
index e5d45c470..b0f6b4823 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -411,7 +411,7 @@ function notification($params) {
$textversion = strip_tags(html_entity_decode(bbcode(stripslashes(str_replace(array("\\r", "\\n"), array( "", "\n"), $body))),ENT_QUOTES,'UTF-8'));
- $htmlversion = html_entity_decode(bbcode(stripslashes(str_replace(array("\\r","\\n"), array("","<br />\n"),$body))), ENT_QUOTES,'UTF-8');
+ $htmlversion = bbcode(stripslashes(str_replace(array("\\r","\\n"), array("","<br />\n"),$body)));
// use $_SESSION['zid_override'] to force zid() to use