Permalink
Browse files

Check against $ns instead of args("openid.ns") which isn't set

  • Loading branch information...
Adam Sjøgren authored and robn committed Jul 24, 2010
1 parent a6200ab commit 1e0cbc9f05a617049a7e69824dc30d03c6417038
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/OpenID/Server.pm
View
@@ -257,7 +257,7 @@ sub signed_return_url {
assoc_handle => $assoc_handle,
response_nonce => _time_to_w3c($now) . _rand_chars(6),
);
$arg{'op_endpoint'} = $self->endpoint_url if $self->endpoint_url && $self->args('openid.ns') eq $OPENID2_NS;
$arg{'op_endpoint'} = $self->endpoint_url if $self->endpoint_url && $ns eq $OPENID2_NS;
$arg{'ns'} = $ns if $ns;
# compatibility mode with version 1.0 of the protocol which still

0 comments on commit 1e0cbc9

Please sign in to comment.