spree/spree — pull request #3779 by jhawthorn (2013-09-27 01:15:09+00:00)
Title: Fix force_non_ssl_redirect redirect location

When visiting an https page with `Config[:force_non_ssl_redirect] = true`, the redirect from `/` was to `/orders/populate?controller=home`.

Building the new URL using the new protocol, existing host, and `request.fullpath` fixes this.