-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert b62b4e: strip quotes from cookie value.
Some applications expect quotes to be preserved in a cookie's value, as indicated by the RFC and expected by Servo, while others expect quotes to be trimmed, as implemented by libraries like Django and Express. This commit reverts a previous commit that always trimmed quotes and leaves the decision to the user by introducing a new `value_trimmed()` getter method. The `value()` method is reverted to the previous behavior, and the `value_trimmed()` strips quotes.
- Loading branch information
1 parent
9a1bf40
commit 89edddf
Showing
2 changed files
with
63 additions
and
24 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