[ 
https://issues.apache.org/jira/browse/NUTCH-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089436#comment-18089436
 ] 

ASF GitHub Bot commented on NUTCH-3187:
---------------------------------------

sebastian-nagel opened a new pull request, #929:
URL: https://github.com/apache/nutch/pull/929

   - Fix the CIDR matching issue described in NUTCH-3187 resp. 
apache/stormcrawler#1942.
   - Add unit tests.
   - Code improvements:
     - make fields final
     - use function references instead of lambda expressions




> protocol-okhttp: IP address filter fails to compare first byte for /32 resp. 
> /128 CIDRs
> ---------------------------------------------------------------------------------------
>
>                 Key: NUTCH-3187
>                 URL: https://issues.apache.org/jira/browse/NUTCH-3187
>             Project: Nutch
>          Issue Type: Bug
>          Components: plugin, protocol
>    Affects Versions: 1.22
>            Reporter: Sebastian Nagel
>            Assignee: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.23
>
>
> The IP address filter (NUTCH-2930) fails to compare the first byte of an IP 
> address if a /32 resp. /128 CIDR is configured for inclusion or exclusion.
> Discovered by [~dpol1] in 
> [stormcrawler#1942|https://github.com/apache/stormcrawler/pull/1942#discussion_r3413509547]
>  - significant parts of the IP filter code are shared.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to