Skip to content

Commit

Permalink
fix: proxy: case insensitive matching of cookie domain - fixes #1606
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Oct 6, 2018
1 parent 5b5d543 commit dacfc8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser-sync/lib/server/proxy-utils.js
Expand Up @@ -142,7 +142,7 @@ function rewriteCookies(rawCookie) {

var pairs = Object.keys(objCookie)
.filter(function(item) {
return item !== "domain";
return item.toLowerCase() !== "domain";
})
.map(function(key) {
return key + "=" + objCookie[key];
Expand Down

0 comments on commit dacfc8b

Please sign in to comment.