unexpected before_filter behavior

Hi there

Noticed some unexpected behavior today and wanted to flag it here - I poked around on the internet and didn’t find anything obvious:

In Rails 3.0.8 and 3.1.0.rc2 it looks like the “unless lambdas” for before_filters cancelled by redirects (and possibly renders) are still run. I’ve pushed a project demonstrating this to github:


Is this expected/known behavior?