in it never being applied for non-html files
Submitted by: Kris Verbeeck <Kris.Verbeeck@ubizen.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96588
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.41
+ *) Fix Logic on non-html file removal in mod_deflate
+ [Kris Verbeeck <Kris.Verbeeck@ubizen.com>]
+
*) Fix "ab -g"'s truncated year: the last digit was cut off.
[Leon Brocard <acme@astray.com>]
|| strncmp(r->content_type, "text/html", 9)) {
const char *env_value = apr_table_get(r->subprocess_env,
"gzip-only-text/html");
- if ( env_value == NULL || strcmp(env_value,"1") ) {
+ if ( env_value && (strcmp(env_value,"1") == 0) ) {
ap_remove_output_filter(f);
}
return ap_pass_brigade(f->next, bb);