(potentialValue)
| 50546 | return false; |
| 50547 | } |
| 50548 | } |
| 50549 | return true; |
| 50550 | } |
| 50551 | function isValidHeaderName2(potentialValue) { |
| 50552 | return isValidHTTPToken(potentialValue); |
| 50553 | } |
| 50554 | function isValidHeaderValue(potentialValue) { |
| 50555 | if (potentialValue.startsWith(" ") || potentialValue.startsWith(" ") || potentialValue.endsWith(" ") || potentialValue.endsWith(" ")) { |
| 50556 | return false; |
| 50557 | } |
| 50558 | if (potentialValue.includes("\0") || potentialValue.includes("\r") || potentialValue.includes("\n")) { |
| 50559 | return false; |
no test coverage detected
searching dependent graphs…