[wp-trac] [WordPress Trac] #18043: Uploaded images dissapear after loading if using compression w/Apache
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 25 22:52:34 UTC 2011
#18043: Uploaded images dissapear after loading if using compression w/Apache
--------------------------+------------------------------
Reporter: ctsttom | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.2.1
Severity: major | Resolution:
Keywords: needs-patch |
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Looks like we have at least two cases where Content-Length is needed
([http://mu.trac.wordpress.org/ticket/473 mu:#473], #17181) and other two
when it's not needed ([http://mu.trac.wordpress.org/ticket/1078 mu:#1078],
#18043), for both Apache and IIS.
The first two seem strange though. According to RFC 2616, Content-Length
should not be sent together with Transfer-Encoding:
If a Content-Length header field (section 14.13) is present, its decimal
value in OCTETs represents both the entity-length and the transfer-length.
The Content-Length header field MUST NOT be sent if these two lengths are
different (i.e., if a Transfer-Encoding header field is present). If a
message is received with both a Transfer-Encoding header field and a
Content-Length header field, the latter MUST be ignored.
I wonder if the issues in the first two tickets could be caused by a
server misconfiguration.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18043#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list