Rack-ie-redirect-fix is a project mainly written in Ruby, it's free.
Rack middleware that prevents an obscure IE bug
This is a Rack middleware that fixes an IE issue related to redirects that occurs when all of the following are true: