From: flyingmana Date: Tue, 21 Jun 2011 21:43:53 +0000 (+0200) Subject: allow cross-origin requests for xrd X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62977ad4f273c3cf0202eeb457a281681c89f3b8;p=quix0rs-gnu-social.git allow cross-origin requests for xrd --- 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);