From 2358a220baad2f8dc027d9bd3cd01c34ae234968 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 15 Aug 2012 20:01:55 -0700 Subject: [PATCH] merge from upstream --- include/enotify.php | 4 +++- include/items.php | 9 ++++++--- include/text.php | 3 ++- mod/item.php | 1 + version.inc | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/include/enotify.php b/include/enotify.php index 510991476..b2d7b7b19 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -1,5 +1,7 @@ ACTIVITY_POST, 'otype' => 'item', 'parent' => $parent, - + 'parent_uri' => $parent_uri, )); } @@ -2894,6 +2896,7 @@ function local_delivery($importer,$data) { 'verb' => ACTIVITY_POST, 'otype' => 'item', 'parent' => $conv_parent, + 'parent_uri' => $parent_uri )); diff --git a/include/text.php b/include/text.php index f6c403388..d49b2269c 100644 --- a/include/text.php +++ b/include/text.php @@ -70,7 +70,8 @@ function notags($string) { if(! function_exists('escape_tags')) { function escape_tags($string) { - return(htmlspecialchars($string)); + return(htmlspecialchars($string, ENT_QUOTES, 'UTF-8', false)); + }} diff --git a/mod/item.php b/mod/item.php index 757506bc4..e2fa5d06b 100644 --- a/mod/item.php +++ b/mod/item.php @@ -780,6 +780,7 @@ function item_post(&$a) { 'verb' => ACTIVITY_POST, 'otype' => 'item', 'parent' => $parent, + 'parent_uri' => $parent_item['uri'] )); } diff --git a/version.inc b/version.inc index ecc830b90..0392ed2d1 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2012-08-13.45 +2012-08-15.47