<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Road to Ruby Mechanize 0.6.0</title>
	<atom:link href="http://tenderlovemaking.com/2006/09/04/road-to-ruby-mechanize-060/feed/" rel="self" type="application/rss+xml" />
	<link>http://tenderlovemaking.com/2006/09/04/road-to-ruby-mechanize-060/</link>
	<description>The act of making love, tenderly.</description>
	<lastBuildDate>Wed, 08 Feb 2012 20:38:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: J. Fister</title>
		<link>http://tenderlovemaking.com/2006/09/04/road-to-ruby-mechanize-060/comment-page-1/#comment-53</link>
		<dc:creator>J. Fister</dc:creator>
		<pubDate>Tue, 19 Sep 2006 21:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/2006/09/04/road-to-ruby-mechanize-060/#comment-53</guid>
		<description>The new Mechanize is great (and so were the older versions), but I did find a bug in the cookies today after pulling my hair out for 3 hours.  I would post this to the developer mailing list, but it seems to be not functioning, or is just very slow.  Anyhow...In CookieJar#cookies(url), all of the cookies are retrieved whose domain matches that of the given URL.  The problem is that this match is being done in a case-sensitive way, when (obviously) domain names are not case sensitive.  I haven&#039;t tested to see if this fix works, but I bet you&#039;ll just need to change the following...
if url.host =~ /#{domain}$/
to 
if url.host =~ /#{domain}$/i

Thanks again for creating this fabulous web scraper!</description>
		<content:encoded><![CDATA[<p>The new Mechanize is great (and so were the older versions), but I did find a bug in the cookies today after pulling my hair out for 3 hours.  I would post this to the developer mailing list, but it seems to be not functioning, or is just very slow.  Anyhow&#8230;In CookieJar#cookies(url), all of the cookies are retrieved whose domain matches that of the given URL.  The problem is that this match is being done in a case-sensitive way, when (obviously) domain names are not case sensitive.  I haven&#8217;t tested to see if this fix works, but I bet you&#8217;ll just need to change the following&#8230;<br />
if url.host =~ /#{domain}$/<br />
to<br />
if url.host =~ /#{domain}$/i</p>
<p>Thanks again for creating this fabulous web scraper!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

