Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cookies being doubly encoded by ResponseEmitter.
setcookie() applies URL encoding to the name & value. We need to remove a layer of encoding before calling setcookie(), as the Set-Cookie headers will have already been encoded and double encoded values break things like CookieComponent. Refs #9553
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 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