[Bb-trac] [bbPress] #721: it's "Content-Type" not "Content-type" (note word case)

bbPress bb-trac at lists.bbpress.org
Mon Aug 6 04:53:34 GMT 2007


#721: it's "Content-Type" not "Content-type" (note word case)
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:         
     Type:  defect    |      Status:  new    
 Priority:  normal    |   Milestone:         
Component:  Back-end  |     Version:  0.8.2.1
 Severity:  normal    |    Keywords:         
----------------------+-----------------------------------------------------
 There is at least one, possibly more places in bbpress where "Content-
 Type" has the wrong case. Some browsers are sensitive to this as the
 RFC2616 specification says the case matters.

 It's wrong in bb_send_headers:
 {{{
 function bb_send_headers() {
         @header('Content-type: ' . bb_get_option( 'html_type' ) . ';
 charset=' . bb_get_option( 'charset' ));
         do_action( 'bb_send_headers' );
 }
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/721>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list