From: James Walker Date: Fri, 26 Feb 2010 18:40:33 +0000 (-0500) Subject: only put public keys in XRD X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a7eef1074a80150fd428c73d49bcd4fc1b66e89;p=quix0rs-gnu-social.git only put public keys in XRD --- diff --git a/plugins/OStatus/actions/xrd.php b/plugins/OStatus/actions/xrd.php index 4350ad025a..f574b60ee1 100644 --- a/plugins/OStatus/actions/xrd.php +++ b/plugins/OStatus/actions/xrd.php @@ -99,7 +99,7 @@ class XrdAction extends Action } $xrd->links[] = array('rel' => Magicsig::PUBLICKEYREL, - 'href' => 'data:application/magic-public-key;'. $magickey->keypair); + 'href' => 'data:application/magic-public-key;'. $magickey->toString(false)); // TODO - finalize where the redirect should go on the publisher $url = common_local_url('ostatussub') . '?profile={uri}';