[wp-trac] [WordPress Trac] #14730: ms-files.php required ob_clean() and flush()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 8 14:11:13 UTC 2010


#14730: ms-files.php required ob_clean() and flush()
--------------------------+-------------------------------------------------
 Reporter:  pj_mfc        |       Owner:  westi          
     Type:  defect (bug)  |      Status:  accepted       
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Multisite     |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by mikelittle):

 Just encountered another issue on the live server, where mod_deflate was
 interfering too. Uploaded file (/files/) files would not download to a
 browser with mod_deflate enabled. I didn't notice it with wget as it
 doesn't support deflate.

 It should have only been turned on for certain files types

 {{{
 AddOutputFilterByType DEFLATE text/html text/css application/x-javascript
 text/plain text/xml
 }}}

 but seemed to be also applied to files served via ms-files.php

 I've turned it off for now as I couldn't figure out how to turn it off
 just for those files. That is Apache related, but maybe the issue is with
 an Apache buffer not PHPs.

 By the way, having turned off mod_deflate, I quickly rolled back to normal
 readfile in ms-files.php and the problem re-appeared.


 Westi, if you need access to my test server I could give you that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14730#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list