Skip to content
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

[2.x] Ignores invalid cookies #145

Merged
merged 1 commit into from
Jan 4, 2023
Merged

Conversation

nunomaduro
Copy link
Member

This pull request causes Octane's request factory in Vapor Core to ignore invalid cookies, specifically cookies that only have a key and no value.

We do not know the reasons why a cookie would only have a key, but a particular customer has reported facing this issue:

Fatal error: Uncaught ErrorException: Undefined array key 1 in /var/task/vendor/laravel/vapor-core/src/Runtime/Octane/OctaneRequestContextFactory.php:75 

@taylorotwell taylorotwell merged commit 323cd74 into 2.0 Jan 4, 2023
@taylorotwell taylorotwell deleted the fix/ignore-invalid-cookies branch January 4, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants