Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpFoundation] Fixed type mismatch#42289
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
derrabus commentedJul 27, 2021
Sure, why not. 🙂 |
Toflar commentedJul 27, 2021
That was kind of a stupid question, I was just being lazy 🙈 Test is here now :) |
derrabus commentedJul 27, 2021
Thank you@Toflar. |
metaer commentedJul 27, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
What about 5.3 branch? Is this patch going to be applied to 5.3? |
derrabus commentedJul 27, 2021
Yes. |
bobvandevijver commentedJul 29, 2021
I guess this can be reverted, as it was actually a bug with the |
derrabus commentedJul 29, 2021
@bobvandevijver Actually, we need this change again for PHP 8.1 as passing |
bobvandevijver commentedJul 29, 2021
derrabus commentedJul 29, 2021
Yes. Up for a PR? 🙂 |
bobvandevijver commentedJul 29, 2021
COil commentedAug 6, 2021
Thanks for the fix. I also had this error with Sf 5.3.5. 😉 |
Uh oh!
There was an error while loading.Please reload this page.
Fixes
in case there's no
cache-controlresponse header. This doesn't happen by default as theResponseis initialized with one by default but any class extending from it can adjust that. Technically speaking, it's not disallowed to have nocache-controlheader set.Want me to add a test for that? :)