mirror of
https://github.com/openappsec/openappsec.git
synced 2026-01-17 16:00:26 +03:00
Jan 06 2026 dev (#387)
* sync code * update code to support brotli * update code to support brotli * update code to support brotli * sync code * fix findBrotli * sync code * sync code * sync code * sync code --------- Co-authored-by: Ned Wright <nedwright@proton.me> Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
This commit is contained in:
@@ -246,36 +246,38 @@ ValueStatsAnalyzer::ValueStatsAnalyzer(const std::string &cur_val)
|
||||
}
|
||||
// Detect URLEncode value
|
||||
isUrlEncoded = checkUrlEncoded(cur_val.data(), cur_val.size());
|
||||
|
||||
textual.clear();
|
||||
textual.append("hasCharSlash = ");
|
||||
textual +=(hasCharSlash ? "true" : "false");
|
||||
textual.append("\nhasCharColon = ");
|
||||
textual +=(hasCharColon ? "true" : "false");
|
||||
textual.append("\nhasCharAmpersand = ");
|
||||
textual +=(hasCharAmpersand ? "true" : "false");
|
||||
textual.append("\nhasCharEqual = ");
|
||||
textual +=(hasCharEqual ? "true" : "false");
|
||||
textual.append("\nhasTwoCharsEqual = ");
|
||||
textual +=(hasTwoCharsEqual ? "true" : "false");
|
||||
textual.append("\nhasCharSemicolon = ");
|
||||
textual +=(hasCharSemicolon ? "true" : "false");
|
||||
textual.append("\nhasCharPipe = ");
|
||||
textual +=(hasCharPipe ? "true" : "false");
|
||||
textual.append("\nisUTF16 = ");
|
||||
textual +=(isUTF16 ? "true" : "false");
|
||||
textual.append("\ncanSplitSemicolon = ");
|
||||
textual +=(canSplitSemicolon ? "true" : "false");
|
||||
textual.append("\ncanSplitPipe = ");
|
||||
textual +=(canSplitPipe ? "true" : "false");
|
||||
textual.append("\nhasSpace = ");
|
||||
textual +=(hasSpace ? "true" : "false");
|
||||
textual.append("\nisUrlEncoded = ");
|
||||
textual +=(isUrlEncoded ? "true" : "false");
|
||||
textual.append("\nhasCharLess = ");
|
||||
textual +=(hasCharLess ? "true" : "false");
|
||||
textual.append("\nhasDoubleQuote = ");
|
||||
textual +=(hasDoubleQuote ? "true" : "false");
|
||||
textual.append("\nhasPercent = ");
|
||||
textual +=(hasPercent ? "true" : "false");
|
||||
if (isDebugRequired(TRACE, D_WAAP))
|
||||
{
|
||||
textual.clear();
|
||||
textual.append("hasCharSlash = ");
|
||||
textual +=(hasCharSlash ? "true" : "false");
|
||||
textual.append("\nhasCharColon = ");
|
||||
textual +=(hasCharColon ? "true" : "false");
|
||||
textual.append("\nhasCharAmpersand = ");
|
||||
textual +=(hasCharAmpersand ? "true" : "false");
|
||||
textual.append("\nhasCharEqual = ");
|
||||
textual +=(hasCharEqual ? "true" : "false");
|
||||
textual.append("\nhasTwoCharsEqual = ");
|
||||
textual +=(hasTwoCharsEqual ? "true" : "false");
|
||||
textual.append("\nhasCharSemicolon = ");
|
||||
textual +=(hasCharSemicolon ? "true" : "false");
|
||||
textual.append("\nhasCharPipe = ");
|
||||
textual +=(hasCharPipe ? "true" : "false");
|
||||
textual.append("\nisUTF16 = ");
|
||||
textual +=(isUTF16 ? "true" : "false");
|
||||
textual.append("\ncanSplitSemicolon = ");
|
||||
textual +=(canSplitSemicolon ? "true" : "false");
|
||||
textual.append("\ncanSplitPipe = ");
|
||||
textual +=(canSplitPipe ? "true" : "false");
|
||||
textual.append("\nhasSpace = ");
|
||||
textual +=(hasSpace ? "true" : "false");
|
||||
textual.append("\nisUrlEncoded = ");
|
||||
textual +=(isUrlEncoded ? "true" : "false");
|
||||
textual.append("\nhasCharLess = ");
|
||||
textual +=(hasCharLess ? "true" : "false");
|
||||
textual.append("\nhasDoubleQuote = ");
|
||||
textual +=(hasDoubleQuote ? "true" : "false");
|
||||
textual.append("\nhasPercent = ");
|
||||
textual +=(hasPercent ? "true" : "false");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user