Skip to content
This repository was archived by the owner on Apr 26, 2022. It is now read-only.

Commit aa68f54

Browse files
committed
Include query string in return_to URLs
1 parent 7c9f9cf commit aa68f54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rack/openid.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def request_url(req)
197197
url = realm_url(req)
198198
url << req.script_name
199199
url << req.path_info
200+
url << "?#{req.query_string}" if req.query_string.to_s.length > 0
200201
url
201202
end
202203

0 commit comments

Comments
 (0)