Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions lib/cookiejar/cookie_validation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after #.

### errors << 'Domain is inappropriate based on request URI hostname'
###end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after #.


# The Port attribute has a "port-list", and the request-port was
# not in the list.
Expand Down