aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-15 05:27:24 -0700
committerFriendika <info@friendika.com>2011-08-15 05:27:24 -0700
commit5d6155a9685202b055744549a2cb84e3d8195fd2 (patch)
tree49ea552342aa3c5cb28cb9bf2d786d77be231fe1 /mod
parent9cd77b56ab8253b9c664fe18b8cf6def647f9ca8 (diff)
downloadvolse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.tar.gz
volse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.tar.bz2
volse-hubzilla-5d6155a9685202b055744549a2cb84e3d8195fd2.zip
fixes share from diaspora
Diffstat (limited to 'mod')
-rw-r--r--mod/receive.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/receive.php b/mod/receive.php
index 72d528093..43f8c7bbc 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -26,7 +26,7 @@ function receive_post(&$a) {
$importer = $r[0];
- $xml = $_POST['xml'];
+ $xml = urldecode($_POST['xml']);
logger('mod-diaspora: new salmon ' . $xml, LOGGER_DATA);
@@ -38,7 +38,7 @@ function receive_post(&$a) {
http_status_exit(500);
- $parsed_xml = parse_xml_string($msg);
+ $parsed_xml = parse_xml_string($msg,false);
$xmlbase = $parsed_xml->post;