From 62977ad4f273c3cf0202eeb457a281681c89f3b8 Mon Sep 17 00:00:00 2001 From: flyingmana Date: Tue, 21 Jun 2011 23:43:53 +0200 Subject: [PATCH] allow cross-origin requests for xrd --- actions/userxrd.php | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/userxrd.php b/actions/userxrd.php index 7691ff155b..4851b0731c 100644 --- a/actions/userxrd.php +++ b/actions/userxrd.php @@ -30,6 +30,7 @@ class UserxrdAction extends XrdAction function prepare($args) { parent::prepare($args); + header('Access-Control-Allow-Origin: *'); $this->uri = $this->trimmed('uri'); $this->uri = self::normalize($this->uri); -- 2.39.5