~ubuntu-branches/ubuntu/lucid/nginx/lucid-updates

« back to all changes in this revision

Viewing changes to src/http/modules/ngx_http_gzip_static_module.c

  • Committer: Bazaar Package Importer
  • Author(s): Neal Poole
  • Date: 2011-06-17 20:44:44 UTC
  • Revision ID: james.westby@ubuntu.com-20110617204444-mxsj99kv5491s989
Tags: 0.7.65-1ubuntu2.1
* SECURITY UPDATE:
  - debian/patches/nginx-null_byte_in_urls.patch: Merge r3528 from
    upstream repository to mitigate potential null byte vulnerability
    (LP: #783508)

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        return NGX_DECLINED;
90
90
    }
91
91
 
92
 
    if (r->zero_in_uri) {
93
 
        return NGX_DECLINED;
94
 
    }
95
 
 
96
92
    gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module);
97
93
 
98
94
    if (!gzcf->enable) {