rails/rails — pull request #14665 by andrielfn (2014-04-09 17:00:37+00:00)
Title: Avoid URI parsing

Inspired by https://github.com/josh/rack-ssl/pull/34.

Thanks to @rafaelfranca to advise me this improvement.