aboutsummaryrefslogtreecommitdiffstats
path: root/mod/xrd.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2015-09-16 09:56:11 +0200
committerzottel <github@zottel.net>2015-09-16 09:56:11 +0200
commitc2dac55edb9d825990b43f8f3c857a99ad491387 (patch)
tree807a02a553eaf3ac9fce51ab8351c6dd637f10e0 /mod/xrd.php
parent06bfd2b5025f9dc8e4672f1965b92660daac770e (diff)
parent4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 (diff)
downloadvolse-hubzilla-c2dac55edb9d825990b43f8f3c857a99ad491387.tar.gz
volse-hubzilla-c2dac55edb9d825990b43f8f3c857a99ad491387.tar.bz2
volse-hubzilla-c2dac55edb9d825990b43f8f3c857a99ad491387.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/xrd.php')
-rw-r--r--mod/xrd.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/xrd.php b/mod/xrd.php
index d547194ad..a373f8bf5 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -5,6 +5,7 @@ require_once('include/crypto.php');
function xrd_init(&$a) {
$uri = urldecode(notags(trim($_GET['uri'])));
+ logger('xrd: ' . $uri,LOGGER_DEBUG);
if(substr($uri,0,4) === 'http')
$name = basename($uri);
@@ -31,7 +32,7 @@ function xrd_init(&$a) {
$salmon_key = salmon_key($r[0]['channel_pubkey']);
header('Access-Control-Allow-Origin: *');
- header("Content-type: text/xml");
+ header("Content-type: application/xrd+xml");
$tpl = get_markup_template('view/xrd_person.tpl');