diff --git a/lib/cookiejar/cookie_validation.rb b/lib/cookiejar/cookie_validation.rb index e73dd89..5bda5ad 100644 --- a/lib/cookiejar/cookie_validation.rb +++ b/lib/cookiejar/cookie_validation.rb @@ -261,9 +261,12 @@ def self.validate_cookie(request_uri, cookie) # The request-host is a HDN (not IP address) and has the form HD, # where D is the value of the Domain attribute, and H is a string # that contains one or more dots. - unless domains_match cookie_host, uri - errors << 'Domain is inappropriate based on request URI hostname' - end + ### + # MonkeyPatch + # + ###unless domains_match cookie_host, uri + ### errors << 'Domain is inappropriate based on request URI hostname' + ###end # The Port attribute has a "port-list", and the request-port was # not in the list.