lib/protocol/http/cookie.rb in protocol-http-0.22.4 vs lib/protocol/http/cookie.rb in protocol-http-0.22.5
- old
+ new
@@ -70,11 +70,11 @@
key, value = head.split('=')
directives = self.parse_directives(directives)
self.new(
- URI.decode(key),
- URI.decode(value),
+ URL.unescape(key),
+ URL.unescape(value),
directives,
)
end
def self.parse_directives(strings)