Plugin Directory


Opened 4 years ago

Closed 4 years ago

#1528 closed defect (fixed)

wp-super-cache: gzip_accepted(): handle missing Accept-Encoding header correctly

Reported by: pioto Owned by: donncha
Priority: normal Severity: normal
Plugin: wp-cache Keywords:


A change in wp-super-cache 1.1 (specifically, revision 502761), broke visiting pages using wp-super-cache with user agents which do not send the Accept-Encoding header -- they are always sent gzipped content, when they should not be.

I'm attaching a patch which corrects the logic here, while keeping the "avoid warnings" intention.

Attachments (1)

0001-gzip_accepted-handle-missing-Accept-Encoding-header-.patch (990 bytes) - added by pioto 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 @pioto4 years ago

  • Component changed from not-listed to wp-cache

comment:2 @donncha4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [554883]:

Fixed serving of gzipped content to clients who who don't tell us either way. Fixes #1528. Props pioto

Note: See TracTickets for help on using tickets.