[jira] [Created] (NUTCH-2620) URLValidator has incorrect assumption

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (NUTCH-2620) URLValidator has incorrect assumption

JIRA jira@apache.org
Gareth created NUTCH-2620:
-----------------------------

             Summary: URLValidator has incorrect assumption
                 Key: NUTCH-2620
                 URL: https://issues.apache.org/jira/browse/NUTCH-2620
             Project: Nutch
          Issue Type: Bug
            Reporter: Gareth


The code assumes a TLD can be max 4 in length. But this is wrong.

 

https://github.com/apache/nutch/blob/f011b2193c24e031aafbcfa1e66fc2bcbb59098b/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/UrlValidator.java#L280



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)