]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
allow cross-origin requests for xrd
authorflyingmana <flyingmana@googlemail.com>
Tue, 21 Jun 2011 21:43:53 +0000 (23:43 +0200)
committerflyingmana <flyingmana@googlemail.com>
Tue, 21 Jun 2011 21:43:53 +0000 (23:43 +0200)
actions/userxrd.php

index 7691ff155bee0a450592d7f935855778ff7299c9..4851b0731cdeff7968bb0b8bb2929f045e8bfff3 100644 (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);