Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When the iname is in the url (e.g. http://example.com/consumer/=mary)…

… the Rails :id must be nullified so that the realm is valid.
  • Loading branch information...
commit 8f49a81af806407faae7453e7def349dfc715c8a 1 parent 1e5a40d
Mike Mell authored chowells79 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/rails_openid/app/controllers/consumer_controller.rb
View
2  examples/rails_openid/app/controllers/consumer_controller.rb
@@ -46,7 +46,7 @@ def start
oidreq.return_to_args['force_post']='x'*2048
end
return_to = url_for :action => 'complete', :only_path => false
- realm = url_for :action => 'index', :only_path => false
+ realm = url_for :action => 'index', :id => nil, :only_path => false
if oidreq.send_redirect?(realm, return_to, params[:immediate])
redirect_to oidreq.redirect_url(realm, return_to, params[:immediate])
Please sign in to comment.
Something went wrong with that request. Please try again.