-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use encode/decodeURIComponent for cookie encoding/decoding
Some server stacks touch cookies in inappropriate ways. Instead of reading the RFC and escaping only what should be escaped many things just escape everything. So under the guise of "interoperability", we will use URI encoding and decoding of the cookie strings. This will also support cookies that are properly escaped and then some. See: senchalabs/connect#604
- Loading branch information
1 parent
e0bc6d2
commit 68669c8
Showing
2 changed files
with
3 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters