diff options
author | zottel <github@zottel.net> | 2015-09-16 09:56:11 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-09-16 09:56:11 +0200 |
commit | c2dac55edb9d825990b43f8f3c857a99ad491387 (patch) | |
tree | 807a02a553eaf3ac9fce51ab8351c6dd637f10e0 /mod/xrd.php | |
parent | 06bfd2b5025f9dc8e4672f1965b92660daac770e (diff) | |
parent | 4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 (diff) | |
download | volse-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.php | 3 |
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'); |