| 16499 | module.exports = { |
| 16500 | maxAttributeValueSize, |
| 16501 | maxNameValuePairSize |
| 16502 | }; |
| 16503 | } |
| 16504 | }); |
| 16505 | |
| 16506 | // |
| 16507 | var require_util6 = __commonJS({ |
| 16508 | ""(exports, module) { |
| 16509 | "use strict"; |
| 16510 | function isCTLExcludingHtab(value) { |
| 16511 | for (let i = 0; i < value.length; ++i) { |
| 16512 | const code = value.charCodeAt(i); |
| 16513 | if (code >= 0 && code <= 8 || code >= 10 && code <= 31 || code === 127) { |
| 16514 | return true; |
| 16515 | } |
| 16516 | } |
| 16517 | return false; |
| 16518 | } |
| 16519 | function validateCookieName(name) { |
| 16520 | for (let i = 0; i < name.length; ++i) { |
| 16521 | const code = name.charCodeAt(i); |
| 16522 | if (code < 33 || // exclude CTLs (0-31), SP and HT |
| 16523 | code > 126 || // exclude non-ascii and DEL |
| 16524 | code === 34 || // " |
| 16525 | code === 40 || // ( |