This project is archived and is in readonly mode.
redirect_to doesn't work with complex URI schemes
Reported by Seth Fitzsimmons | October 21st, 2008 @ 11:06 PM | in 2.x
ActionController::Base#redirect_to doesn't handle complex URI schemes (per http://en.wikipedia.org/wiki/URI.... This means that URL handlers such as "x-iphone-app" can't be redirected to by Rails apps.
redirect_to patch: http://github.com/mojodna/rails/...
corresponding test: http://github.com/mojodna/rails/...
Comments and changes to this ticket
-
Repository October 30th, 2008 @ 08:12 PM
- State changed from new to committed
(from [47b4fa4a621ee48ab17545b1e9fb38efef53b28e]) Fixed regex in redirect_to to fully support URI schemes [#1247 state:committed]
Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1247 redirect_to doesn't work with complex URI schemes (from [47b4fa4a621ee48ab17545b1e9fb38efef53b28e]) Fixed r...