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

test(serialize): additional tests for proper name, domain and path RFC Validations #1

Closed
wants to merge 1 commit into from

Conversation

hdtmccallie
Copy link
Owner

@hdtmccallie hdtmccallie commented Oct 1, 2024

These tests are to help illustrate vulnerabilities in the cookie name, domain and path strings. The lack of filtering delimiters like semicolon and comma is the major concern but other characters can present security problems as well.

PR #167 fixes these vulnerabilities and tests should pass with those new validations added.

@hdtmccallie hdtmccallie changed the title test(serialize): additional tests for proper name, domain and path RF… test(serialize): additional tests for proper name, domain and path RFC Validations Oct 2, 2024
…ations

These tests better align with the proper RFC rules for the cookie attributes of `name`, `domain`, and `path`.

These test are meant to be implemented along with [PR jshttp#167][1] that adds more fine-grained validations based on RFC rules.

[1]: jshttp#167
@hdtmccallie hdtmccallie force-pushed the test/cookie-rfc-tests branch from 684d088 to f3c7217 Compare October 2, 2024 04:30
@hdtmccallie
Copy link
Owner Author

closing draft in favor of actual PR to upstream

@hdtmccallie hdtmccallie closed this Oct 2, 2024
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.

1 participant