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

Do not use or assume Base 64 encoding of cookies #74

Merged
merged 1 commit into from
Dec 16, 2017

Conversation

malthe
Copy link
Contributor

@malthe malthe commented Dec 13, 2017

Also, only cookie values should be percent-decoded. The keys should be
using the safe alphabet as per the spec.

This fixes issue #57.

Also, only cookie values should be percent-decoded. The keys should be
using the safe alphabet as per the spec.

This fixes issue rgrinberg#57.
@rgrinberg rgrinberg merged commit c7f7c09 into rgrinberg:master Dec 16, 2017
@rgrinberg
Copy link
Owner

Thanks!

rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request Jan 4, 2019
CHANGES:

- Switch to dune (rgrinberg/opium#88, anuragoni)

- Keep the "/" cookie default and expose all cookie directives (rgrinberg/opium#82,
  @actionshrimp)

- Do not assume base 64 encoding of cookies (rgrinberg/opium#74, @malthe)

- Add caching capabilities to middleware (rgrinberg/opium#76, @mattjbray)
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