Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2705

urlfilter-validator rejects IPv6 URLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.15
    • 1.21
    • plugin
    • None

    Description

      The plugin urlfilter-validator rejects URLs with an IPv6 address as hostname/authority (given according to RFC 2732:

      % echo "http://[2010:836B:4179::836B:4179]/" \
          | bin/nutch filterchecker -filterName urlfilter-validator -stdin
      Checking combination of these URLFilters: UrlValidator 
      -http://[2010:836B:4179::836B:4179]/
      

      We should also consider to use the class UrlValidator from commons-validator directly instead of a modified copy. This would help to get updates and improvements with little effort - IPv6 is already supported, see the class implementation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: