aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ap_probe.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-03 21:59:46 +0200
committergit-marijus <mario@mariovavti.com>2017-08-03 21:59:46 +0200
commita618f70f56efdcaaf9da6dcfcab9cce6a933303b (patch)
treed363935c303b53f4b82a15b523259c53bb3cd2a6 /Zotlabs/Module/Ap_probe.php
parent9566eab934f0a13a892af7b70a79429949a01c3f (diff)
parentd06ce6294d8bbf6bed668e7f0f363fcad63f4e05 (diff)
downloadvolse-hubzilla-a618f70f56efdcaaf9da6dcfcab9cce6a933303b.tar.gz
volse-hubzilla-a618f70f56efdcaaf9da6dcfcab9cce6a933303b.tar.bz2
volse-hubzilla-a618f70f56efdcaaf9da6dcfcab9cce6a933303b.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Module/Ap_probe.php')
-rw-r--r--Zotlabs/Module/Ap_probe.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Ap_probe.php b/Zotlabs/Module/Ap_probe.php
index f788fa73a..769cd4c4e 100644
--- a/Zotlabs/Module/Ap_probe.php
+++ b/Zotlabs/Module/Ap_probe.php
@@ -30,7 +30,7 @@ class Ap_probe extends \Zotlabs\Web\Controller {
$redirects = 0;
$x = z_fetch_url($addr,true,$redirects, [ 'headers' => [ $headers ]]);
if($x['success'])
- $o .= '<pre>' . str_replace('\\','',jindent($x['body'])) . '</pre>';
+ $o .= '<pre>' . str_replace(['\\n','\\'],["\n",''],jindent($x['body'])) . '</pre>';
}
return $o;
}