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

feat(std/http): Check if cookie property is valid #7189

Merged
merged 20 commits into from
Nov 17, 2020

Conversation

getspooky
Copy link
Contributor

No description provided.

@getspooky getspooky changed the title feat(std/http): Check if cookie propery is valid feat(std/http): Check if cookie property is valid Aug 25, 2020
@ry
Copy link
Member

ry commented Aug 25, 2020

Looks good - but can you add a test?

@bartlomieju
Copy link
Member

@getspooky CI is failing, try running again by pushing empty commit: git commit -m "reset CI" --allow-empty

@getspooky
Copy link
Contributor Author

@ry I added test for cookie validation

@bartlomieju
Copy link
Member

@nayeemrmn PTAL

std/http/cookie.ts Outdated Show resolved Hide resolved
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

@bartlomieju
Copy link
Member

@nayeemrmn @lucacasonato I think we could land this PR now, any objections?

Copy link
Collaborator

@nayeemrmn nayeemrmn left a comment

Choose a reason for hiding this comment

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

One these are addressed we'll have a valid fix for cookie names only.

std/http/cookie.ts Outdated Show resolved Hide resolved
std/http/cookie.ts Outdated Show resolved Hide resolved
std/http/cookie.ts Outdated Show resolved Hide resolved
std/http/cookie.ts Outdated Show resolved Hide resolved
std/http/cookie.ts Outdated Show resolved Hide resolved
@getspooky
Copy link
Contributor Author

@nayeemrmn I made the changes

Copy link
Collaborator

@nayeemrmn nayeemrmn left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM as well, but I'd be great to get a few more tests

std/http/cookie_test.ts Outdated Show resolved Hide resolved
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @getspooky

@bartlomieju bartlomieju merged commit f7afe2b into denoland:master Nov 17, 2020
jannes pushed a commit to jannes/deno that referenced this pull request Dec 1, 2020
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 21, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Feb 1, 2021
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

7 participants