-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default cookie name doesn't satisfy RFC6265 #16
Comments
This breaks anyone who is naively using any hard-coded references to the default cookie name. For now, just use the |
Exactly. We should probably change it, but cannot for some time. |
Perhaps we should just not even have this be a default? I think that would be the better option to make people choose their own cookie names, since that is basically an integral part of cookies. |
Yeah, that might be a good idea. |
Yea. I looked at the RFC and it says the cookie name should be a |
Has this problem been solved.? |
@anextro no, not until the next major release. You can always just use a different cookie name from the default for your app in the meantime. |
The default cookie name
express:sess
contains:
, which is not a valid token character in accordance with RFC6265 and RFC2616. Although most web browsers and servers allow this, it causes problems in some more strict environment such as spray.Would you consider remaining it? If so, should we take backward compatibility into account?
p.s. I posted the same issue as koajs/session#28.
The text was updated successfully, but these errors were encountered: