[wp-trac] [WordPress Trac] #18043: Uploaded images dissapear after loading if using compression w/Apache

WordPress Trac noreply at wordpress.org
Sat Jan 5 00:14:24 UTC 2013


#18043: Uploaded images dissapear after loading if using compression w/Apache
--------------------------------------------------+--------------------
 Reporter:  ctsttom                               |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  3.6
Component:  Multisite                             |     Version:  3.2.1
 Severity:  major                                 |  Resolution:
 Keywords:  has-patch dev-feedback needs-testing  |
--------------------------------------------------+--------------------

Comment (by v-media):

 I checked your patch, and I would say, this will result in an unknown
 file-size. I don't think it's a good idea, especially if we speak about
 large files. The better solution could be some refactoring of ms-files.php
 and checking for 304 before you send Content-Length. This will allow
 sending Content-Length only for 200. I can't provide you a patch since
 this doesn't seem to be a quick change.

 The other problem with such a patch is that someone later can add these
 lines again, since users will eventually ask to send the Content-Length
 and there will be no obvious reason why not to do it.

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


More information about the wp-trac mailing list