<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -65,27 +65,27 @@ class TestFakeAuthentication &lt; Test::Unit::TestCase
     assert_equal &quot;secret&quot;, response.body
   end
 
-  def test_basic_auth_when_userinfo_contains_at_sign
-    FakeWeb.register_uri(:get, &quot;http://user%40example.com:secret@example.com&quot;, :body =&gt; &quot;authorized&quot;)
+  def test_basic_auth_when_userinfo_contains_allowed_unencoded_characters
+    FakeWeb.register_uri(:get, &quot;http://roses&amp;hel1o,(+$):so;longs=@example.com&quot;, :body =&gt; &quot;authorized&quot;)
     http = Net::HTTP.new(&quot;example.com&quot;)
     request = Net::HTTP::Get.new(&quot;/&quot;)
-    request.basic_auth(&quot;user@example.com&quot;, &quot;secret&quot;)
+    request.basic_auth(&quot;roses&amp;hel1o,(+$)&quot;, &quot;so;longs=&quot;)
     assert_equal &quot;authorized&quot;, http.request(request).body
   end
 
-  def test_basic_auth_when_userinfo_contains_ampersand
-    FakeWeb.register_uri(:get, &quot;http://roses&amp;hello:solongs@example.com&quot;, :body =&gt; &quot;authorized&quot;)
+  def test_basic_auth_when_userinfo_contains_encoded_at_sign
+    FakeWeb.register_uri(:get, &quot;http://user%40example.com:secret@example.com&quot;, :body =&gt; &quot;authorized&quot;)
     http = Net::HTTP.new(&quot;example.com&quot;)
     request = Net::HTTP::Get.new(&quot;/&quot;)
-    request.basic_auth(&quot;roses&amp;hello&quot;, &quot;solongs&quot;)
+    request.basic_auth(&quot;user@example.com&quot;, &quot;secret&quot;)
     assert_equal &quot;authorized&quot;, http.request(request).body
   end
 
-  def test_basic_auth_when_userinfo_contains_space
-    FakeWeb.register_uri(:get, &quot;http://us%20er:sec%20ret@example.com&quot;, :body =&gt; &quot;authorized&quot;)
+  def test_basic_auth_when_userinfo_contains_allowed_encoded_characters
+    FakeWeb.register_uri(:get, &quot;http://us%20er:sec%20%2F%2Fret%3F@example.com&quot;, :body =&gt; &quot;authorized&quot;)
     http = Net::HTTP.new(&quot;example.com&quot;)
     request = Net::HTTP::Get.new(&quot;/&quot;)
-    request.basic_auth(&quot;us er&quot;, &quot;sec ret&quot;)
+    request.basic_auth(&quot;us er&quot;, &quot;sec //ret?&quot;)
     assert_equal &quot;authorized&quot;, http.request(request).body
   end
 </diff>
      <filename>test/test_fake_authentication.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7c1dbfef135515e97e78165078b983aabd5bb60e</id>
    </parent>
  </parents>
  <author>
    <name>Chris Kampmeier</name>
    <email>chris@kampers.net</email>
  </author>
  <url>http://github.com/chrisk/fakeweb/commit/2dcd9e67c61b5c783b5b5daafff8d15cb554fb29</url>
  <id>2dcd9e67c61b5c783b5b5daafff8d15cb554fb29</id>
  <committed-date>2009-07-05T01:20:53-07:00</committed-date>
  <authored-date>2009-07-05T01:20:53-07:00</authored-date>
  <message>Make the tests for unsafe characters in userinfo strings more thorough</message>
  <tree>3502a2405c1678593c74bfa3f7b90cb6e63964c3</tree>
  <committer>
    <name>Chris Kampmeier</name>
    <email>chris@kampers.net</email>
  </committer>
</commit>
