rails/rails — pull request #5455 by ivanacostarubio (2012-03-15 21:41:09+00:00)
Title: params on force_ssl 

This commit fixes a small bug on 3-1-stable when using force_ssl in a controller.

When hitting a url like:

http://host.com/people/1

it would redirect to the secure url, but without the param "1".

https://host.com/people/

This commit fixes it by redirecting to the https equivalent using the params:

https://host.com/people?id=1