[wp-trac] Re: [WordPress Trac] #2597: 304 Not Modified Headers not returned in RSS2 feed

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 30 17:48:34 GMT 2006

#2597: 304 Not Modified Headers not returned in RSS2 feed
       Id:  2597            |      Status:  new                     
Component:  Administration  |    Modified:  Thu Mar 30 17:48:34 2006
 Severity:  major           |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.2                   
    Owner:  anonymous       |    Reporter:  gfmorris                
Comment (by sit):

 It would probably be better to find a real fix; I think the intention is
 that $_SERVER is quoted once, either by PHP's magic_quote or by some calls
 to addslashes in WP.  The problem is (I believe) that both are happening
 on some configurations/versions of PHP: PHP magic_quote's server, and then
 WP calls addslashes (and then at some point calls stripslashes).

 Of course it is safe in this usage to stripslashes since the check that
 the ETags are the same is just a string comparison (not some SQL
 statement, e.g.) but I could imagine that there may be some potential
 deeper problems and this is only one possible manifestation.

Ticket URL: <http://trac.wordpress.org/ticket/2597>
WordPress Trac <http://wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list