rails/rails — pull request #6563 by bolshakov (2012-05-31 05:14:43+00:00)
Title: Escape path before redirection

I have got an error while trying to redirect non ASCII url. So lets escape it.