diff --git a/mod/friendika.php b/mod/friendika.php
index 8bd6e34377..7762bfbb52 100644
--- a/mod/friendika.php
+++ b/mod/friendika.php
@@ -24,7 +24,7 @@ function friendika_init(&$a) {
);
- echo str_replace('\\/','/',json_encode($data));
+ echo json_encode($data);
killme();
}
}
diff --git a/mod/match.php b/mod/match.php
index 2742b4a887..12138a26c7 100644
--- a/mod/match.php
+++ b/mod/match.php
@@ -38,6 +38,7 @@ function match_content(&$a) {
if(count($j->results)) {
foreach($j->results as $jj) {
+
$o .= '
';
$o .= '
';
diff --git a/mod/qsearch.php b/mod/qsearch.php
index 9b3f2b087a..c35e253b67 100644
--- a/mod/qsearch.php
+++ b/mod/qsearch.php
@@ -44,7 +44,7 @@ function qsearch_init(&$a) {
$results[] = array( (int) $rr['id'], 0, $rr['name'],$rr['url'],$rr['photo']);
}
- echo str_replace('\\/','/',json_encode((object) $results));
+ echo json_encode((object) $results);
killme();
}
diff --git a/mod/uexport.php b/mod/uexport.php
index 96f062c41c..e1fb22855a 100644
--- a/mod/uexport.php
+++ b/mod/uexport.php
@@ -39,7 +39,7 @@ function uexport_init(&$a) {
$output = array('user' => $user, 'contact' => $contact, 'profile' => $profile );
header("Content-type: application/json");
- echo str_replace('\\/','/',json_encode($output));
+ echo json_encode($output);
$r = q("SELECT count(*) as `total` FROM `item` WHERE `uid` = %d ",
intval(local_user())
@@ -63,7 +63,7 @@ function uexport_init(&$a) {
}
$output = array('item' => $item);
- echo str_replace('\\/','/',json_encode($output));
+ echo json_encode($output);
}