[wp-trac] Re: [WordPress Trac] #8572: Admin AJAX responses lack charset headers

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 11 08:49:08 GMT 2008


#8572: Admin AJAX responses lack charset headers
----------------------------------------------------+-----------------------
 Reporter:  janbrasna                               |        Owner:  anonymous
     Type:  defect                                  |       Status:  new      
 Priority:  normal                                  |    Milestone:  2.8      
Component:  Administration                          |      Version:  2.7      
 Severity:  normal                                  |   Resolution:           
 Keywords:  admin javascript ajax charset encoding  |  
----------------------------------------------------+-----------------------
Comment (by janbrasna):

 Basically a couple of
 {{{ header('Content-Type: text/html; charset=' .
 get_option('blog_charset') ); }}}
 and/or
 {{{ header('Content-Type: text/xml; charset=' . get_option('blog_charset')
 ); }}}
 is needed throughout the code in {{{admin-ajax.php}}} ...

 I'll test a couple of cases to have a patch ready.

 (I'm consolidating more bugs like #3633 + #4871 + #6693 here to fix them
 in one ticket. See them for further details.)

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


More information about the wp-trac mailing list