We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0264aad commit ecc1386Copy full SHA for ecc1386
SERVERS.md
@@ -26,7 +26,7 @@ var Cookies = Cookies.withConverter({
26
// allowed in a cookie value, except for the plus sign (%2B)
27
.replace(/%(23|24|26|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);
28
},
29
- write: function (value) {
+ read: function (value) {
30
return value
31
// Decode all characters according to the "encodeURIComponent" spec
32
.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent)
0 commit comments