Sha256: 5f08170c4f9e05aac540873684af310d60ae16dca8ee0f89c25b352726d9bd53

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

***************
*** 140,145 ****
      def cookies(url)
        cleanup
        cookies = []
        @jar.each_key do |domain|
          if url.host =~ /#{domain}$/
            @jar[domain].each_key do |name|
--- 140,146 ----
      def cookies(url)
        cleanup
        cookies = []
+       url.path = '/' if url.path.empty?
        @jar.each_key do |domain|
          if url.host =~ /#{domain}$/
            @jar[domain].each_key do |name|

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mechanize-0.5.0 lib/mechanize/cookie.rb.rej