diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openid.php | 2 | ||||
-rw-r--r-- | lib/util.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/openid.php b/lib/openid.php index c98ff8bfc..48c2a6cb1 100644 --- a/lib/openid.php +++ b/lib/openid.php @@ -95,7 +95,7 @@ function oid_authenticate($openid_url, $returnto) { $auth_request->addExtension($sreg_request); } - $trust_root = common_root_url(); + $trust_root = common_local_url($public); $process_url = common_local_url($returnto); if ($auth_request->shouldSendRedirect()) { diff --git a/lib/util.php b/lib/util.php index 5091c4bad..9b4415c17 100644 --- a/lib/util.php +++ b/lib/util.php @@ -530,6 +530,8 @@ function common_fancy_url($action, $args=NULL) { } case 'publicrss': return common_path('rss'); + case 'publicxrds': + return common_path('xrds'); case 'doc': return common_path('doc/'.$args['title']); case 'login': |