Cookie attribute name should be case-insensitively parsed. #91

wants to merge 1 commit into


None yet
1 participant

yssk22 commented Apr 27, 2013

Need this patch when the server returns a cookie that has upper-case chars in the start of attribute names like this:

[ 'sessionkey=value;; Path=/; Expires=Sat, 27 Apr 2013 07:57:05 GMT; HttpOnly' ]

I found this type of cookie response in express 3.0.

In RFC6265, these attribute names can be case-insensitive. (See the 'Path' case:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment