You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe express-session should expose this, as the default encodeUriComponent is not always the desired behaviour. I would be willing to try and put a PR together for this if it was likely to be merged promptly.
The text was updated successfully, but these errors were encountered:
I agree, in my context, cookies are urlEncoded once more by a mechanism I have no control on and I had to patch the module to allow encode to be modified same as other ones.
One of the options which can be set on
cookie.serialize
isencode
see hereIn
express-session
it is not possible to set this option:session/index.js
Line 161 in 5df613c
session/index.js
Line 243 in 5df613c
session/index.js
Line 657 in 5df613c
session/session/cookie.js
Lines 117 to 127 in 5df613c
I believe express-session should expose this, as the default
encodeUriComponent
is not always the desired behaviour. I would be willing to try and put a PR together for this if it was likely to be merged promptly.The text was updated successfully, but these errors were encountered: