allow cross-origin requests for xrd

This commit is contained in:
flyingmana 2011-06-21 23:43:53 +02:00
parent 253a55846a
commit 62977ad4f2

View File

@ -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);