Adjusted commit to pass JControllerLegacyTest::testSetRedirect unit test