[wp-trac] [WordPress Trac] #14069: do_robots() ignores charset setting

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 24 10:22:17 UTC 2010


#14069: do_robots() ignores charset setting
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Charset       |     Version:            
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------

Comment(by hakre):

 Easy fix, gave it a testrun already with a blog havin the "US-ASCII"
 charset:


 '''Current:'''
 {{{
 HTTP/1.1 200 OK
 Date: Thu, 24 Jun 2010 10:16:18 GMT
 Server: Apache
 X-Pingback: http://example.com/xmlrpc.php
 Transfer-Encoding: chunked
 Content-Type: text/plain; charset=utf-8

 User-agent: *
 Disallow: /
 }}}


 '''Patched:'''

 {{{
 HTTP/1.1 200 OK
 Date: Thu, 24 Jun 2010 10:16:18 GMT
 Server: Apache
 X-Pingback: http://example.com/xmlrpc.php
 Transfer-Encoding: chunked
 Content-Type: text/plain; charset=US-ASCII

 User-agent: *
 Disallow: /
 }}}

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


More information about the wp-trac mailing list