rails/rails — pull request #3857 by Overbryd (2011-12-05 10:22:52+00:00)
Title: Fix for redirect_to to respect urls with a network path reference like "//asset.host.com/resources/1235"

Rails doesn't respect network path references that are defined in RFC3986 Section 4.2.
If we want to `redirect_to "//asset.host.com/resources/12345"` Rails redirects to `http://application.host.com//asset.host.com/resources/12345`.

For more information see Issue #3856