aboutsummaryrefslogtreecommitdiffstats
path: root/include/hostxrd.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-25 19:40:37 -0700
committerFriendika <info@friendika.com>2011-06-25 19:40:37 -0700
commitc9604ef57839e16839e69aa23a21ed8921409343 (patch)
tree217ff3e63fd71cc375e5c86ddd5abad066d79d4f /include/hostxrd.php
parent59d9070d13949d596d24524acaef9d35e8feba8c (diff)
downloadvolse-hubzilla-c9604ef57839e16839e69aa23a21ed8921409343.tar.gz
volse-hubzilla-c9604ef57839e16839e69aa23a21ed8921409343.tar.bz2
volse-hubzilla-c9604ef57839e16839e69aa23a21ed8921409343.zip
allow cross-site xrd/lrdd/webfinger
Diffstat (limited to 'include/hostxrd.php')
-rw-r--r--include/hostxrd.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hostxrd.php b/include/hostxrd.php
index 987175c33..7040f927d 100644
--- a/include/hostxrd.php
+++ b/include/hostxrd.php
@@ -2,6 +2,7 @@
function hostxrd($baseurl) {
+ header('Access-Control-Allow-Origin: *');
header("Content-type: text/xml");
$tpl = file_get_contents('view/xrd_host.tpl');
echo str_replace('$domain',$baseurl,$tpl);