[Patch] gzip_disable broken without pcre and with multiple arguments

Derrick Petzold contact at derrickpetzold.com
Wed Sep 1 07:14:26 MSD 2010


Hello,

I found a couple of minor bugs with gzip_disable.

     *If built without the pcre library the gzip_disable_msie6 flag
was uninitialized
      resulting in the flag not being evaluated causing gzip responses
to be sent to msie6 agents.

     *This is very minor as it only affects an undocumented feature.
When setting mutliple
       arguments to gzip_disable:

           gzip_disable ""MSIE [1-6]\." "Python";

       any arguments after the first were broken.

the patches are attached.

Regards,
  Derrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bugfix-gzip_disable_msie6.patch
Type: text/x-patch
Size: 1787 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20100831/9136833d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gzip_disable-test-script.patch
Type: text/x-patch
Size: 22064 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20100831/9136833d/attachment-0003.bin>


More information about the nginx-devel mailing list