spree/spree — pull request #1622 by ethier (2012-06-01 19:50:43+00:00)
Title: Fix to not allow trailing slash on script name when matching

...ounted at root

This appears to be a [known issue](https://github.com/rails/journey/pull/24) with mounted engines on the root path. An additional slash is added to the request.fullpath and the https redirect will contain the second slash.

It will look like this:
http://example.com//login

While the issue appears to be resolved in Journey, it does not look like 1.0.3 release included with Rails 3.2.3 includes this patch (or in 3.2.4).

This small fix is not ideal (IMO) but it is working for my install and it might help others as well.