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

deps: egg-cookies@2 #155

Merged
merged 2 commits into from
Nov 22, 2016
Merged

deps: egg-cookies@2 #155

merged 2 commits into from
Nov 22, 2016

Conversation

dead-horse
Copy link
Member

@dead-horse dead-horse commented Nov 22, 2016

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

升级到 egg-cookies@2,egg 本身已经是做了一定要传 keys 的约定了,egg-cookies@2 修复了 pillarjs/cookies#82 这个问题。如果有人用到了这个 bug 当特性可能会有问题。

@@ -42,6 +42,6 @@ describe('example cookie test', () => {
.get('/forget')
.expect(302)
.expect('Location', '/')
.expect('Set-Cookie', /^remember=; path=\/; expires=[^;]+; httponly$/);
.expect('Set-Cookie', /^remember=; path=\/; expires=[^;]+; httponly,remember\.sig=; path=\/; expires=[^;]+; httponly$/);
Copy link
Member Author

Choose a reason for hiding this comment

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

删除 signed cookie 的时候,同时会将签名也删除

@codecov-io
Copy link

codecov-io commented Nov 22, 2016

Current coverage is 97.65% (diff: 100%)

Merging #155 into master will increase coverage by 1.28%

@@             master       #155   diff @@
==========================================
  Files            34         33     -1   
  Lines           908        853    -55   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits            875        833    -42   
+ Misses           33         20    -13   
  Partials          0          0          

Powered by Codecov. Last update 4062648...90c6e8a

@fengmk2
Copy link
Member

fengmk2 commented Nov 22, 2016

+1

@fengmk2 fengmk2 merged commit 912fd2a into master Nov 22, 2016
@fengmk2 fengmk2 deleted the upgrade-cookies branch November 22, 2016 18:06
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.

4 participants