[wp-trac] Re: [WordPress Trac] #3886: wrong server protocol for HTTP/1.0 requests resulting in uninterpreted chunked encoding

WordPress Trac wp-trac at lists.automattic.com
Fri May 11 05:27:19 GMT 2007


#3886: wrong server protocol for HTTP/1.0 requests resulting in uninterpreted
chunked encoding
-----------------------+----------------------------------------------------
 Reporter:  abtime     |        Owner:  anonymous
     Type:  defect     |       Status:  new      
 Priority:  high       |    Milestone:  2.2      
Component:  General    |      Version:  2.1.1    
 Severity:  major      |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by azza-bazoo):

 I like this patch, but two nitpicks:
  * there's no need to {{{trim()}}} the SERVER_PROTOCOL value
  * If the protocol is unrecognised, it's safer to fall back to HTTP/1.0
 than HTTP/1.1 -- wrongly assuming 1.1 was the original cause of this bug,
 after all.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3886#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list