Permalink
Browse files

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

…ssociation]

Ignore-this: 13d2c5718f1f798d3e60ce9ffac9a135
  • Loading branch information...
1 parent 4d0da03 commit b70ddec8139ee25156b99c0e1537deaa7f321a8b tailor committed Jul 1, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 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.