Skip to content

Commit 512724c

Browse files
Fix docs
1 parent 9a8018c commit 512724c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ Cookies.getJSON(); // => { name: { foo: 'bar' } }
102102

103103
## Encoding
104104

105-
This project is [RFC 6265](http://tools.ietf.org/html/rfc6265#section-4.1.1) compliant.
106-
However, all special characters that are not allowed in the cookie-value or cookie-name are encoded/decoded with each UTF-8 Hex equivalent. Special characters that consistently work among all supported browsers are not encoded/decoded this way.
105+
This project is [RFC 6265](http://tools.ietf.org/html/rfc6265#section-4.1.1) compliant.
106+
All special characters that are not allowed in the cookie-value or cookie-name are encoded with each UTF-8 Hex equivalent.
107+
The only character in cookie-name and cookie-value that is allowed and still encoded is the percent `%` character, it is escaped in order to interpret the input as literal.
107108

108109
## Cookie Attributes
109110

0 commit comments

Comments
 (0)