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

Open
wants to merge 1 commit into
from

Conversation

Projects
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; Domain=.dev.speedland.net; 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: http://tools.ietf.org/html/rfc6265#section-5.2.4)

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