(path5)
| 62354 | for (const char of value) { |
| 62355 | const code = char.charCodeAt(0); |
| 62356 | if (code < 33 || // exclude CTLs (0-31) |
| 62357 | code === 34 || code === 44 || code === 59 || code === 92 || code > 126) { |
| 62358 | throw new Error("Invalid header value"); |
| 62359 | } |
| 62360 | } |
| 62361 | } |
| 62362 | function validateCookiePath(path5) { |
| 62363 | for (const char of path5) { |
| 62364 | const code = char.charCodeAt(0); |
| 62365 | if (code < 33 || char === ";") { |
| 62366 | throw new Error("Invalid cookie path"); |
no outgoing calls
no test coverage detected
searching dependent graphs…