#4205 closed defect (bug) (fixed)
tiny_mce_gzip is getting gzip compressed twice
Reported by: | welcomb | Owned by: | |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | TinyMCE | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Some servers like mine enable gzip on all output by setting output_handler to ob_gzhandler in php.ini. However zlib is also installed thus the check for compression in line 87 of tiny_mce_gzip.php both fails. Because function ob_gzhandler does exist and zlib.output.compression directive is not set.
This causes tiny_mce_gzip to be encoded twice, resulting in gibberish output to the browser.
To fix, insert an extra condition ini_get('output_handler') != 'ob_gzhandler' to line 87.
Attachments (1)
Change History (7)
#3
@
17 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopen for 2.2 consideration.
This ticket was mentioned in Slack in #core-privacy by webdevlaw. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
Looks good to me. +1.