rails/rails — pull request #4916 by rmm5t (2012-02-06 22:58:21+00:00)
Title: Fixed force_ssl redirects to include original query params

`ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string.

For example, this URL (with force_ssl):

http://example.com/widgets/new?name=foo

Only redirects to:

https://example.com/widgets/new