Author Divya Rani
Recipients Divya Rani
Date 2018-12-24.04:18:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545625083.15.0.0770528567349.issue35573@roundup.psfhosted.org>
In-reply-to
Content
import cookiejar

cookiejar.is_HDN("foo!bar.com")
Output:
True

cookiejar.is_HDN("woo.com.")

Output:
False

Test cases taken from:
1. https://github.com/google/guava/blob/581ba1436ebaa54a7f5d0f1db8cc4da0ca72127e/android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java#L81
2.
https://github.com/google/guava/blob/581ba1436ebaa54a7f5d0f1db8cc4da0ca72127e/android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java#L65
History
Date User Action Args
2018-12-24 04:18:05Divya Ranisetrecipients: + Divya Rani
2018-12-24 04:18:03Divya Ranisetmessageid: <1545625083.15.0.0770528567349.issue35573@roundup.psfhosted.org>
2018-12-24 04:18:03Divya Ranilinkissue35573 messages
2018-12-24 04:18:03Divya Ranicreate