<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WordPress ETag bug</title>
	<atom:link href="http://www.emilsit.net/blog/archives/wordpress-etag-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/</link>
	<description></description>
	<pubDate>Thu, 28 Aug 2008 18:04:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: WordPress Feeds and Excessive Bandwidth Â« Brian Yi</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-3044</link>
		<dc:creator>WordPress Feeds and Excessive Bandwidth Â« Brian Yi</dc:creator>
		<pubDate>Wed, 31 Jan 2007 08:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-3044</guid>
		<description>&lt;p&gt;[...] The other, preferred solution is to fix the processing of If-none-match headers with a quick and easy hack. In WordPress 2.0.5, open up wp-includes/classes.php and go to line 1640. Replace if (isset($&lt;em&gt;SERVER['HTTP&lt;/em&gt;IF&lt;em&gt;NONE&lt;/em&gt;MATCH'])) $client&lt;em&gt;etag = stripslashes($&lt;/em&gt;SERVER['HTTP&lt;em&gt;IF&lt;/em&gt;NONE&lt;em&gt;MATCH']); with if (isset($&lt;/em&gt;SERVER['HTTP&lt;em&gt;IF&lt;/em&gt;NONE&lt;em&gt;MATCH'])) $client&lt;/em&gt;etag = stripslashes(stripslashes($&lt;em&gt;SERVER['HTTP&lt;/em&gt;IF&lt;em&gt;NONE&lt;/em&gt;MATCH'])); Now your bandwidth usage for WordPress feeds should be reduced. Don&#8217;t forget that you&#8217;ll have to do this every time you upgrade WordPress. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] The other, preferred solution is to fix the processing of If-none-match headers with a quick and easy hack. In WordPress 2.0.5, open up wp-includes/classes.php and go to line 1640. Replace if (isset($<em>SERVER['HTTP</em>IF<em>NONE</em>MATCH'])) $client<em>etag = stripslashes($</em>SERVER['HTTP<em>IF</em>NONE<em>MATCH']); with if (isset($</em>SERVER['HTTP<em>IF</em>NONE<em>MATCH'])) $client</em>etag = stripslashes(stripslashes($<em>SERVER['HTTP</em>IF<em>NONE</em>MATCH'])); Now your bandwidth usage for WordPress feeds should be reduced. Don&#8217;t forget that you&#8217;ll have to do this every time you upgrade WordPress. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Johnson &#187; Blog Archive &#187; RSS/Atom feeds, Last Modified and Etags</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1463</link>
		<dc:creator>Aaron Johnson &#187; Blog Archive &#187; RSS/Atom feeds, Last Modified and Etags</dc:creator>
		<pubDate>Tue, 05 Dec 2006 07:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1463</guid>
		<description>&lt;p&gt;[...] http://www.emilsit.net/blog/archives/wordpress-etag-bug/ [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.emilsit.net/blog/archives/wordpress-etag-bug/"  rel="nofollow">http://www.emilsit.net/blog/archives/wordpress-etag-bug/</a> [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ((meatspace)) &#187; Wordpress, ETag, Last-Modified</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1290</link>
		<dc:creator>((meatspace)) &#187; Wordpress, ETag, Last-Modified</dc:creator>
		<pubDate>Fri, 24 Nov 2006 04:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1290</guid>
		<description>&lt;p&gt;[...] Adding in the fact that if the client actually sends an ETagged response (the HTTP 1.1 If-None-Match header), Wordpress&#8217;s quoting mechanism screws it up. Some people have taken a stab at fixing it but it seems easier to just nuke the @header(&#8221;ETag: &#8230;) line in wp-include/classes.php (around line 1637 in wordpress 2.0.5) and let last-modified work just fine. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Adding in the fact that if the client actually sends an ETagged response (the HTTP 1.1 If-None-Match header), Wordpress&#8217;s quoting mechanism screws it up. Some people have taken a stab at fixing it but it seems easier to just nuke the @header(&#8221;ETag: &#8230;) line in wp-include/classes.php (around line 1637 in wordpress 2.0.5) and let last-modified work just fine. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: dbt</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1279</link>
		<dc:creator>dbt</dc:creator>
		<pubDate>Wed, 22 Nov 2006 19:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-1279</guid>
		<description>&lt;p&gt;Stumbled across this trying to find more info.  Since the wordpress ETag is just a hash of the last modified timestamp, so I removed the @header("ETag: ...) from classes.php and I'll let stuff go from there.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Stumbled across this trying to find more info.  Since the wordpress ETag is just a hash of the last modified timestamp, so I removed the @header(&#8221;ETag: &#8230;) from classes.php and I&#8217;ll let stuff go from there.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TemplateBoy</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-15</link>
		<dc:creator>TemplateBoy</dc:creator>
		<pubDate>Tue, 18 Apr 2006 19:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-15</guid>
		<description>&lt;p&gt;Good reading. I just added your website to my bookmarks list, hope to read much more interesting stuff. Keep it going!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good reading. I just added your website to my bookmarks list, hope to read much more interesting stuff. Keep it going!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: alexking.org: Blog &#62; Around the web</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-8</link>
		<dc:creator>alexking.org: Blog &#62; Around the web</dc:creator>
		<pubDate>Mon, 03 Apr 2006 17:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-8</guid>
		<description>&lt;p&gt;[...] Emil Sit - WordPress ETag bug [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Emil Sit - WordPress ETag bug [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: geek ramblings &#187; links for 2006-03-31</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-6</link>
		<dc:creator>geek ramblings &#187; links for 2006-03-31</dc:creator>
		<pubDate>Fri, 31 Mar 2006 00:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-6</guid>
		<description>&lt;p&gt;[...] Emil Sit Â» WordPress ETag bug Geof, Alex, Scot, and I have been looking into this Conditional GET bug, but Emil found the culprit first. (tags: dougal_comments wordpress rss feeds conditionalget bugs) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Emil Sit Â» WordPress ETag bug Geof, Alex, Scot, and I have been looking into this Conditional GET bug, but Emil found the culprit first. (tags: dougal_comments wordpress rss feeds conditionalget bugs) [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: CVS Test Blog &#187; Daily Links</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-5</link>
		<dc:creator>CVS Test Blog &#187; Daily Links</dc:creator>
		<pubDate>Thu, 30 Mar 2006 19:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-5</guid>
		<description>&lt;p&gt;[...] Emil Sit Â» WordPress ETag bug Geof, Alex, Scot, and I have been looking into this Conditional GET bug, but Emil found the culprit first. (tags: dougal_comments wordpress rss feeds conditionalget bugs) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Emil Sit Â» WordPress ETag bug Geof, Alex, Scot, and I have been looking into this Conditional GET bug, but Emil found the culprit first. (tags: dougal_comments wordpress rss feeds conditionalget bugs) [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal Campbell</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-3</link>
		<dc:creator>Dougal Campbell</dc:creator>
		<pubDate>Wed, 29 Mar 2006 20:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-3</guid>
		<description>&lt;p&gt;Nice catch! I tried to track the problem down, but didn't have time to properly debug it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nice catch! I tried to track the problem down, but didn&#8217;t have time to properly debug it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: sit</title>
		<link>http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-4</link>
		<dc:creator>sit</dc:creator>
		<pubDate>Wed, 29 Mar 2006 20:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.emilsit.net/blog/archives/wordpress-etag-bug/#comment-4</guid>
		<description>&lt;p&gt;Thanks; I hope you what to do with it :-)  There's obviously a lot of stuff to do with quoting in the WP code base, including interactions with PHP's own magic quote stuff, and I didn't have the energy to come up with a truly proper fix (much less a fix that would work across multiple PHP versions).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks; I hope you what to do with it :-)  There&#8217;s obviously a lot of stuff to do with quoting in the WP code base, including interactions with PHP&#8217;s own magic quote stuff, and I didn&#8217;t have the energy to come up with a truly proper fix (much less a fix that would work across multiple PHP versions).</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.366 seconds -->
