Skip to content
Myr

Merge branch 'fix-cookies'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parents d0a9b0c, 8717e2e · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • tests:+1 added−1 removed
  • other:+2 added−0 removed

2 files+3 added−1 removed

modified:lib/express/plugins/cookie.js+2 added
modified:spec/spec.plugins.cookie.js+1 added-1 removed
80 unmodified lines
81 this.cookie('SID', '732423sdfs73243', { path: '/', secure: true })82 this.cookie('foo', 'bar')83 return '' 84 })85 get('/user').headers['set-cookie'].should.eql 'SID=732423sdfs73243; path=/; secure, foo=bar'85 get('/user').headers['set-cookie'].should.eql 'SID=732423sdfs73243; path=/; secure, foo=bar; path=/'86 end87 end88 end89
11 unmodified lines