sync code

This commit is contained in:
Ned Wright
2026-01-03 18:59:01 +00:00
parent c1058db57d
commit 2105628f05
188 changed files with 8272 additions and 2723 deletions

View File

@@ -92,7 +92,7 @@ ParserUrlEncode::push(const char *buf, size_t len)
is_last = (i == (len - 1));
// Checking valid char urlencode
if (c < 32) {
if (static_cast<unsigned char>(c) < 32u || static_cast<unsigned char>(c) > 126u) {
dbgDebug(D_WAAP_PARSER_URLENCODE) << "invalid URL encoding character: " << c;
m_state = s_error;
return i;