From c9604ef57839e16839e69aa23a21ed8921409343 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sat, 25 Jun 2011 19:40:37 -0700 Subject: allow cross-site xrd/lrdd/webfinger --- include/hostxrd.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.2.3