-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Mark,
On 4/1/15 7:38 AM, Mark Thomas wrote: > On 01/04/2015 11:53, André Warnier wrote: > > <snip/> > >> By curiosity, I was trying to find the relevant RFCs, to see if >> "ä" is a valid name for a cookie. I am not sure.. >> >> Cookies are defined in RFC6265 >> (http://tools.ietf.org/html/rfc6265). That document defines the >> cookie-name as a "token", and refers to RFC2616 for the >> definition of token. RFC2616 >> (http://tools.ietf.org/html/rfc2616#section-2.2) defines a >> "token" as a series of CHAR's, which in turn are defined as >> >> CHAR = <any US-ASCII character (octets 0 - 127)> >> >> >> So that would tend to say that "ä" is not a valid name for a >> cookie ? > > The rules for cookie names are stricter than those for cookie > values. I believe the OP was asking about cookie values. Nope: On 4/1/15 5:38 AM, Peter Schroer wrote: > This can be easily tested by writing "document.cookie='ä=0';" in > the developer console of the browser. So in this case, it's a cookie /name/, but a value. Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVG/qFAAoJEBzwKT+lPKRY2cYP/09LKibAojslpGtJVHlxFIA9 L6kZENJ5hRkGEMef6QeYc96vs8GbiFh232uvR6pCipYGeWzREhskHB6uvFNxVV73 VOcCvFqZGXmYLFkXTc5H3w9I1aLPxgN1UOScpMnbDDCGd6l/QM+MQW69GveiZhMr BLK9eS8ooRigJv1XgssMWgCZgQwZmb8vbVgaVHrySPgv9Qf8gr4Z3X3/DqfxFSUz PpUu6beKDZ+mGrhVs1Fj7lvtJPiT20AdFPOkChZdY9VFEdr8LkpKz/JE2WZneOcj jPjoITCJDDJdp+2Tx2HWPq3eMEHc8pNsvMU8c10F3wC+rUglPgdJgSblxWXWf0ko Zxtq9DuSf6LnEOXqlFTNJEu3o9BRHL9t/DEdzBdIr51a9MG9K6xTenpLRHGV+87c 0PrnRzI2KVyJ2/5Xs/azOVc2ch4ACGaELdjyu1j5ybg7gi8336rK1BE5gw1gO/yN dikmBgYsEvkSUe09DZRzRBzjPFfYfJqSlI63+R5pspu5PfEHisNmOMTBE2wqVzLb tvdQuYaPilKFAwsJkpgskbRzXKXixEuEusgyOL9w3jN1nVHWrfJs+EvRiyl+2hlT wnkF9eZzNZpZTVUD00IZA+WnMny4JWoW39GYZPjFlpKapWXry4xb7HuV4nbXSOtJ oEJjApKZztT3xGHdJSbL =I0ea -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org