Comparing version 3.0.0 to 3.0.1
# restify Changelog | ||
## 3.0.1 | ||
- #779 set-cookie headers should not include comma separated values. See: | ||
http://tools.ietf.org/html/rfc6265#section-3 | ||
## 3.0.0 | ||
@@ -4,0 +8,0 @@ |
@@ -145,3 +145,5 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
var current = this.getHeader(name); | ||
if (current) { | ||
// #779, don't use comma separated values for set-cookie, see | ||
// http://tools.ietf.org/html/rfc6265#section-3 | ||
if (current && name.toLowerCase() !== 'set-cookie') { | ||
if (Array.isArray(current)) { | ||
@@ -148,0 +150,0 @@ current.push(value); |
@@ -41,3 +41,3 @@ { | ||
"description": "REST framework", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"repository": { | ||
@@ -44,0 +44,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
185132
4735
8