Fix potential Execution After Redirect bugs.
Execution After Redirect (EAR) happens when redirect in a controller is triggered but there still is code that is executed in the action.
Authored by: tmaruyama 2011-05-01
Parent: [r5610]
Child: [r5612]