-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test RedirectResponse problem report #1486
Conversation
@natanfelles Made an adjustment to Common::redirect() that looks like it has fixed the problem. |
Not solved. But I see a light: CodeIgniter4/system/HTTP/Response.php Line 759 in fb60b92
Headers are sent before the fluent method |
And is called again in CodeIgniter4/system/HTTP/Response.php Lines 633 to 651 in fb60b92
Maybe because of this works with the Response but not with RedirectResponse. Firefox Raw Headers repeat some headers: #1393 (comment) - because of the headers sent in Something tells me this is there in bootstrap.php |
sendHeader() in redirect() looks out of place, I agree. |
The travis-ci failure is from Redis tests, not related. This is good to test. |
Added tests for response->redirect() and redirect(), and both seem ok.
Closes #1393