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

Handle empty cookie components gracefully #663

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Handle empty cookie components gracefully #663

merged 1 commit into from
Apr 9, 2019

Conversation

martinslota
Copy link
Contributor

No description provided.

@avsm
Copy link
Member

avsm commented Apr 9, 2019

Thanks! This looks right to me. Did you run into these malformed cookies in the wild?

@Leonidas-from-XIV
Copy link
Contributor

Leonidas-from-XIV commented Apr 9, 2019

@avsm Yes, we did, unfortunately. It is a bit surprising because our code was running fine until a wave of these invalid cookies came in and took down the system.

@avsm
Copy link
Member

avsm commented Apr 9, 2019

Thanks for the PR! I'll cut a quick release.

@avsm avsm merged commit f25ec99 into mirage:master Apr 9, 2019
@Leonidas-from-XIV
Copy link
Contributor

Thanks @avsm, much appreciated!

avsm added a commit to avsm/opam-repository that referenced this pull request Apr 9, 2019
CHANGES:

- cohttp: handle empty cookie components gracefully without raising
  an exception (mirage/ocaml-cohttp#663 @martinslota)
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.

None yet

3 participants