| 49 | } |
| 50 | |
| 51 | static bool isValidCookieName(SC::StringSpan name) |
| 52 | { |
| 53 | const SC::Span<const char> bytes = name.toCharSpan(); |
| 54 | if (bytes.empty()) |
| 55 | { |
| 56 | return false; |
| 57 | } |
| 58 | for (size_t idx = 0; idx < bytes.sizeInBytes(); ++idx) |
| 59 | { |
| 60 | if (not isHttpTokenCharacter(bytes[idx])) |
| 61 | { |
no outgoing calls
no test coverage detected