Closed knu closed 12 years ago
Mechanize should reject a cookie with domain=co.uk if it is from *.co.uk.
For the black list, we can adopt the eTLD (effective TLD) list maintained in the Mozilla/Firefox repository.
http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat
This should probably be provided as a separate gem.
I think it would be OK to provide it only in mechanize to start
My domain_name gem is soon to be ready. Please wait for a few more days.
https://github.com/knu/ruby-domain_name
Done. We probably need some more test cases.
Mechanize should reject a cookie with domain=co.uk if it is from *.co.uk.
For the black list, we can adopt the eTLD (effective TLD) list maintained in the Mozilla/Firefox repository.
http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat
This should probably be provided as a separate gem.