Skip to content

Commit 354a81a

Browse files
authored
Change schema extraction zip compression to PHP_ZLIB_ENCODING_GZIP (#2447)
1 parent afa2b3c commit 354a81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appsec/src/helper/compression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace dds {
1313

1414
namespace {
15-
constexpr int64_t encoding = -0xf;
15+
constexpr int64_t encoding = 0x1f;
1616
constexpr int max_round_decompression = 100;
1717
// Taken from PHP approach
1818
// https://heap.space/xref/PHP-7.3/ext/zlib/php_zlib.h?r=8d3f8ca1#36

0 commit comments

Comments
 (0)