From 93f5cc1e609611d030c3e0480291ac6f70d22487 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 15 Sep 2015 01:24:55 -0700 Subject: I'm not going to tell you what's wrong because I'll be accused of bashing another project. I'll let you read the logs and figure it out for yourself. Follow the trail of evidence and you'll discover the truth. --- mod/xrd.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/xrd.php') diff --git a/mod/xrd.php b/mod/xrd.php index d547194ad..a3a73dc4f 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); -- cgit v1.2.3 From 4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 15 Sep 2015 21:47:01 -0700 Subject: serve as application/xrd+xml --- mod/xrd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/xrd.php') diff --git a/mod/xrd.php b/mod/xrd.php index a3a73dc4f..a373f8bf5 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -32,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'); -- cgit v1.2.3