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

Add parseCookieName, parseCookieValue methods #1

Merged
merged 4 commits into from
Oct 9, 2019

Conversation

flotwig
Copy link
Contributor

@flotwig flotwig commented Oct 9, 2019

I wanted to validate cookie names and values separately, so I updated the code to allow for it. I split the existing regex in half and updated the existing code to use the new functions. All tests pass.

Copy link
Owner

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing back your changes!

index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
@charmander charmander merged commit d431f54 into charmander:master Oct 9, 2019
@charmander
Copy link
Owner

Thank you again! I’ll publish 3.1.0 soon.

@charmander
Copy link
Owner

Published 3.0.1 with a bugfix and 3.1.0 including it.

@flotwig
Copy link
Contributor Author

flotwig commented Oct 10, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants