Commit 62977ad4 authored by flyingmana's avatar flyingmana

allow cross-origin requests for xrd

parent 253a5584
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment