Flash and redirects


As I understand it the correct behavior for the flash should be that it's contents should survive a redirect. This does not seem to be the case for me in Rails 2.0.1. I've been updating a ticket:


and today I added tests to flash_test.rb in actionpack that appear, to me, to show the Flash not being preserved across a redirect. I've attached a patch with the failing test to that ticket.

Am I mistaken about the correct behavior? Is the test showing what I think it's showing? And, if so, is there a ready workaround?