Repository navigation
web-server/http/id-cookie: accept names & values as bytes; fix HMAC - #75
Closed
LiberalArtist wants to merge 1 commit into
Closed
LiberalArtist wants to merge 1 commit into
LiberalArtist wants to merge 1 commit into
Conversation
Contributor
Author
|
Related to #74 |
Contributor
|
Good work! |
Contributor
Author
|
I should be able to finish this up in time for 7.5, but it may not be until the weekend, depending on how some other things go. (Branch day is Monday.) |
LiberalArtist
force-pushed
the
fix-id-cookie
branch
from
November 11, 2019 23:37
ae64b89 to
508bb42
Compare
Contributor
Author
|
Sorry this is so much later than I'd planned: I had some family obligations come up unexpectedly. |
LiberalArtist
marked this pull request as ready for review
November 11, 2019 23:38
LiberalArtist
force-pushed
the
fix-id-cookie
branch
from
November 11, 2019 23:52
508bb42 to
d015cb1
Compare
Contributor
Author
|
I'm still thinking through what to do for
|
LiberalArtist
force-pushed
the
fix-id-cookie
branch
2 times, most recently
from
November 12, 2019 15:06
02f32da to
09bd5c7
Compare
This commit changes the functions provided by `web-server/http/id-cookie` to accept byte-strings for their name and value arguments (rather than requiring strings) for consistency with other cookie-related functions: see <RenaissanceBug/racket-cookies@c745ee5>. Additionally, it fixes a bug which had caused cookie HMAC-SHA1 signatures to be incorrectly truncated to 25 base64 digits, rather than 27, since <racket@a5135d5>. Other minor fixes: - Corrects the documentatation for `valid-id-cookie?` and `request-id-cookie` to specify that the `#:timeout` argument must satisfy `real?` (not just `number?`). - Changes the test suite for `make-secret-salt/file` to avoid needing write permissions for the directory where the collection is installed. Increments the version of the `web-server-lib` package to `1.6`. Closes racket#74
LiberalArtist
force-pushed
the
fix-id-cookie
branch
from
November 12, 2019 15:08
09bd5c7 to
1def684
Compare
Contributor
|
I don't have a strong opinion about the types. I follow your logic. |
Merged
Contributor
Author
|
Subsumed by #84 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not ready to merge.
Needs docs, tests, and a look at
typed/web-server/http.