Permalink
Browse files

Include query string in return_to URLs

  • Loading branch information...
1 parent 7c9f9cf commit aa68f544374f92391994f24401f0ac2430a6eb10 @jamesmacaulay jamesmacaulay committed Feb 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rack/openid.rb
View
1 lib/rack/openid.rb
@@ -197,6 +197,7 @@ def request_url(req)
url = realm_url(req)
url << req.script_name
url << req.path_info
+ url << "?#{req.query_string}" if req.query_string.to_s.length > 0
url
end

0 comments on commit aa68f54

Please sign in to comment.