<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
+* v 0.2.3: changed the way things get escaped in hopes that it would fix some problems some were having
 * v 0.2.2: a bunch of changes from titanous, mostly refactoring
 * v 0.2.0: added support for scrobbling tracks and now playing submission (Titanous)
 * v 0.1.0: initial release
\ No newline at end of file</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,10 @@
 require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'scrobbler'))
+require 'pp'
 
 track = Scrobbler::Track.new('Carrie Underwood', 'Before He Cheats')
 puts 'Fans'
 puts &quot;=&quot; * 4
-track.fans.each { |u| puts &quot;(#{u.weight}) #{u.username}&quot; }
\ No newline at end of file
+track.fans.each { |u| puts &quot;(#{u.weight}) #{u.username}&quot; }
+
+track = Scrobbler::Track.new('U2 &amp; Green Day', 'The Saints Are Coming')
+pp track.tags
\ No newline at end of file</diff>
      <filename>examples/track.rb</filename>
    </modified>
    <modified>
      <diff>@@ -21,8 +21,7 @@ module Scrobbler
   			url = URI.join(@base_url, resource)
 
   			if args
-  				# TODO: What about keys without value?
-  				url.query = args.map { |k,v| &quot;%s=%s&quot; % [URI.encode(k.to_s), URI.encode(v.to_s)] }.join(&quot;&amp;&quot;)
+  				url.query = args.map { |k,v| &quot;%s=%s&quot; % [escape(k.to_s), escape(v.to_s)] }.join(&quot;&amp;&quot;)
   			end
 
   			case method
@@ -42,6 +41,11 @@ module Scrobbler
   			res = http.start() { |conn| conn.request(req) }
   			res.body
   		end
+  		
+  		private
+  		  def escape(str)
+  		    URI.escape(str, Regexp.new(&quot;[^#{URI::PATTERN::UNRESERVED}]&quot;))
+  		  end
   	end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/scrobbler/rest.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4da3c34ba956ae34891d14abf85333d8c135d464</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/scrobbler/commit/ff6dca2878e4572c3d5ef523fdba96074a6c4585</url>
  <id>ff6dca2878e4572c3d5ef523fdba96074a6c4585</id>
  <committed-date>2009-04-13T06:26:59-07:00</committed-date>
  <authored-date>2009-04-13T06:26:59-07:00</authored-date>
  <message>Changed the way query string information gets encoded in hopes that it fixes some problems for some people.</message>
  <tree>594821ec0f496bf5e46d10b4ea8c635cfdb8df71</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
