How to reproduce: Build this test application. Click on the "Do with mode" link that is displayed by the "Do" view. Observe redirect loop. Note that the call to create the URL is identical in both Do(string) and Do(string, Mode)