]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
only put public keys in XRD
authorJames Walker <walkah@walkah.net>
Fri, 26 Feb 2010 18:40:33 +0000 (13:40 -0500)
committerJames Walker <walkah@walkah.net>
Fri, 26 Feb 2010 19:22:49 +0000 (14:22 -0500)
plugins/OStatus/actions/xrd.php

index 4350ad025a19ad7202e76cfe4da6212ba56edfb9..f574b60ee1cb941e5849343e54f49456dd387eb3 100644 (file)
@@ -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}';