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

WordPress Trac noreply at wordpress.org
Fri Mar 1 18:06:50 UTC 2013


#2597: 304 Not Modified Headers not returned in RSS2 feed
----------------------------------------+------------------------
 Reporter:  gfmorris                    |       Owner:  anonymous
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  2.0.7
Component:  Administration              |     Version:  2.0.2
 Severity:  major                       |  Resolution:  fixed
 Keywords:  304 http headers feed RSS2  |
----------------------------------------+------------------------

Comment (by nacin):

 In [23573], I've removed this second strip.

 I don't know exact timelines or history, but long before PHP 5.2,
 magic_quotes_gpc stopped affecting $_SERVER. We have never stripped
 $_SERVER when magic_quotes_gpc was on, and only added unconditionally.
 This resulted in double slashes.

 Now that magic_quotes_gpc never affects $_SERVER, we always end up with
 exactly one level of slashing.

 Thus, [3682] can go.

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


More information about the wp-trac mailing list