Opened 8 years ago

Closed 8 years ago

#999 closed defect (wontfix)

sub_filter does not uncompress the data first

Reported by: h4ck3rm1k3@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.11.x
Keywords: Cc:
uname -a: Linux mdupont-Aspire-7750G 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
nginx -V: git master
commit 4f578bfcab740fcfbbb8824822803ad9b3f176cc
Author: Tim Taubert <tim@timtaubert.de>
Date: Wed Jun 15 21:05:30 2016 +0100

nginx version: nginx/1.11.2
built by gcc 5.3.1 20160528 (Debian 5.3.1-21)
built with OpenSSL 1.0.2h 3 May 2016
TLS SNI support enabled
configure arguments: --with-http_sub_module --with-http_ssl_module --with-debug

Description

I am setting up a reverse proxy, the data is compressed and the sub_filter does not decompress it first before attempting to parse the content.

Change History (3)

comment:1 by Ilyas Bakirov, 8 years ago

Disable gzip on backend side or inform backend side's content encodings
aren't acceptable(which disables gzip) by using proxy_set_header Accept-Encoding ""; in your proxy_pass block

comment:2 by h4ck3rm1k3@…, 8 years ago

Perfect!

comment:3 by Maxim Dounin, 8 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.