diff --git a/index.js b/index.js index ab6555f5..bd66a352 100644 --- a/index.js +++ b/index.js @@ -593,14 +593,14 @@ function getcookie(req, name, secrets) { } } - // back-compat read from cookieParser() signedCookies data + /* Removed due to incompatibility with hyper-express// back-compat read from cookieParser() signedCookies data if (!val && req.signedCookies) { val = req.signedCookies[name]; if (val) { deprecate('cookie should be available in req.headers.cookie'); } - } + }*/ // back-compat read from cookieParser() cookies data if (!val && req.cookies) { diff --git a/test/session.js b/test/session.js index 065b0871..fd69bfc2 100644 --- a/test/session.js +++ b/test/session.js @@ -2480,7 +2480,7 @@ describe('session()', function(){ }) }) - it('should read from req.signedCookies', function(done){ + xit('should read from req.signedCookies', function(done){ const app = express() .use(cookieParser('keyboard cat')) .use(function(req, res, next){ delete req.headers.cookie; next() })