You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Gareth (JIRA)" <ji...@apache.org> on 2018/07/12 19:34:00 UTC

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

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)