Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[project @ Handle malformed associate responses better in negotiate a…

…ssociation]

Ignore-this: 13d2c5718f1f798d3e60ce9ffac9a135
  • Loading branch information...
commit b70ddec8139ee25156b99c0e1537deaa7f321a8b 1 parent 4d0da03
tailor authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/openid/consumer/associationmanager.rb
View
4 lib/openid/consumer/associationmanager.rb
@@ -143,6 +143,10 @@ def negotiate_association
return nil
end
end
+ rescue InvalidOpenIDNamespace
+ Util.log("Server #{@server_url} returned a malformed association " \
+ "response. Falling back to check_id mode for this request.")
+ return nil
end
end

0 comments on commit b70ddec

Please sign in to comment.
Something went wrong with that request. Please try again.