Closed harshadsheth closed 8 years ago
Hey @geniusXboxer,
The $
character is a valid character for cookie values as specified in RFC6265 (section 4.1.1). As a result, it is not encoded.
Can you describe a reproducible scenario in which having an un-encoded $
causes a problem?
Closing due to months of inactivity.
Hi,
The library ignores the values like $ : while encodingUriComponent for the VALUE to set the cookie. This breaks certain scenarios.
encodeUriComponent takes care of all these things and we should simply call it without the regex. Please fix this or I can PR it.