Created
March 16, 2010 22:18
-
-
Save Bluejade/334604 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib/rots/server_app.rb:104 | |
web_response = @server.encode_response(@openid_response) | |
(rdb:24) @openid_response | |
#<OpenID::Server::OpenIDResponse:0xb7231e5c @request=#<OpenID::Server::CheckIDRequest:0xb72357c8 @trust_root="http://www.exampl | |
e.com/", @return_to="http://www.example.com/user?for_model=1&_method=post&open_id_complete=1", @claimed_id="http://localhost:11 | |
23/john.doe?openid.success=true", @assoc_handle="{HMAC-SHA1}{4ba00276}{zKO/oA==}", @immediate=false, @identity="http://localhos | |
t:1123/john.doe?openid.success=true", @mode="checkid_setup", @op_endpoint="http://localhost:1123/server/?openid.success=true", | |
@message=#<OpenID::Message:0xb7237550 @openid_ns_uri="http://specs.openid.net/auth/2.0", @namespaces=#<OpenID::NamespaceMap:0xb | |
7237500 @alias_to_namespace={"sreg"=>"http://openid.net/extensions/sreg/1.1", "ax"=>"http://openid.net/srv/ax/1.0", :null_names | |
pace=>"http://specs.openid.net/auth/2.0"}, @implicit_namespaces=[], @namespace_to_alias={"http://specs.openid.net/auth/2.0"=>:n | |
ull_namespace, "http://openid.net/extensions/sreg/1.1"=>"sreg", "http://openid.net/srv/ax/1.0"=>"ax"}>, @args={["http://specs.o | |
penid.net/auth/2.0", "success"]=>"true", ["http://specs.openid.net/auth/2.0", "mode"]=>"checkid_setup", ["http://openid.net/srv | |
/ax/1.0", "mode"]=>"fetch_request", ["http://openid.net/extensions/sreg/1.1", "optional"]=>"country,gender,dob,postcode", ["htt | |
p://specs.openid.net/auth/2.0", "realm"]=>"http://www.example.com/", ["http://specs.openid.net/auth/2.0", "assoc_handle"]=>"{HM | |
AC-SHA1}{4ba00276}{zKO/oA==}", ["http://specs.openid.net/auth/2.0", "return_to"]=>"http://www.example.com/user?for_model=1&_met | |
hod=post&open_id_complete=1", ["http://specs.openid.net/auth/2.0", "identity"]=>"http://localhost:1123/john.doe?openid.success= | |
true", ["http://specs.openid.net/auth/2.0", "claimed_id"]=>"http://localhost:1123/john.doe?openid.success=true"}>>, @fields=#<O | |
penID::Message:0xb7231e34 @openid_ns_uri="http://specs.openid.net/auth/2.0", @namespaces=#<OpenID::NamespaceMap:0xb7231d58 @ali | |
as_to_namespace={"sreg"=>"http://openid.net/extensions/sreg/1.1", :null_namespace=>"http://specs.openid.net/auth/2.0"}, @implic | |
it_namespaces=[], @namespace_to_alias={"http://specs.openid.net/auth/2.0"=>:null_namespace, "http://openid.net/extensions/sreg/ | |
1.1"=>"sreg"}>, @args={["http://specs.openid.net/auth/2.0", "mode"]=>"id_res", ["http://openid.net/extensions/sreg/1.1", "gende | |
r"]=>"M", ["http://specs.openid.net/auth/2.0", "op_endpoint"]=>"http://localhost:1123/server/?openid.success=true", ["http://sp | |
ecs.openid.net/auth/2.0", "response_nonce"]=>"2010-03-16T22:13:30Zn5dhoV", ["http://openid.net/extensions/sreg/1.1", "dob"]=>#<Date: 4892659/2,0,2299161>, ["http://specs.openid.net/auth/2.0", "return_to"]=>"http://www.example.com/user?for_model=1&_method=post&open_id_complete=1", ["http://specs.openid.net/auth/2.0", "identity"]=>"http://localhost:1123/john.doe?openid.success=true", ["http://specs.openid.net/auth/2.0", "claimed_id"]=>"http://localhost:1123/john.doe?openid.success=true"}>> | |
(rdb:24) continue | |
I, [2010-03-16T17:13:44.261160 #15390] INFO -- OpenID: seq_to_kv warning: Converting value to string: #<Date: 4892659/2,0,2299161>: [["assoc_handle", "{HMAC-SHA1}{4ba00276}{zKO/oA==}"], ["claimed_id", "http://localhost:1123/john.doe?openid.success=true"], ["identity", "http://localhost:1123/john.doe?openid.success=true"], ["mode", "id_res"], ["ns", "http://specs.openid.net/auth/2.0"], ["ns.sreg", "http://openid.net/extensions/sreg/1.1"], ["op_endpoint", "http://localhost:1123/server/?openid.success=true"], ["response_nonce", "2010-03-16T22:13:30Zn5dhoV"], ["return_to", "http://www.example.com/user?for_model=1&_method=post&open_id_complete=1"], ["signed", "assoc_handle,claimed_id,identity,mode,ns,ns.sreg,op_endpoint,response_nonce,return_to,signed,sreg.dob,sreg.gender"], ["sreg.dob", #<Date: 4892659/2,0,2299161>], ["sreg.gender", "M"]] | |
NoMethodError: private method `gsub' called for #<Date: 4892659/2,0,2299161> | |
/usr/lib/ruby/1.8/cgi.rb:342:in `escape' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/util.rb:51:in `urlencode' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/util.rb:49:in `each' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/util.rb:49:in `urlencode' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/util.rb:71:in `append_args' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/message.rb:301:in `to_url' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/server.rb:919:in `encode_to_url' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/server.rb:906:in `which_encoding' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/server.rb:1154:in `encode' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/server.rb:1213:in `encode' | |
/var/lib/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/server.rb:1382:in `encode_response' | |
./bin/../lib/rots/server_app.rb:104:in `reply_consumer' | |
./bin/../lib/rots/server_app.rb:89:in `return_successful_openid_response' | |
./bin/../lib/rots/server_app.rb:74:in `process_checkid_request' | |
./bin/../lib/rots/server_app.rb:32:in `call' | |
./bin/../lib/rots/server_app.rb:45:in `on_openid_request' | |
./bin/../lib/rots/server_app.rb:25:in `call' | |
/var/lib/gems/1.8/gems/rack-1.1.0/lib/rack/urlmap.rb:47:in `call' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment