| 91 | } |
| 92 | |
| 93 | static bool scHttpMultipartBoundaryIsSafe(SC::StringSpan value) |
| 94 | { |
| 95 | for (char current : value.toCharSpan()) |
| 96 | { |
| 97 | const unsigned char byte = static_cast<unsigned char>(current); |
| 98 | if (byte <= 0x20 or byte >= 0x7F) |
| 99 | { |
| 100 | return false; |
| 101 | } |
| 102 | } |
| 103 | return true; |
| 104 | } |
| 105 | |
| 106 | static bool scHttpMultipartQuotedParameterIsSafe(SC::StringSpan value) |
| 107 | { |