GitHub user sebastian-nagel opened a pull request:
https://github.com/apache/nutch/pull/169
NUTCH-2349 urlnormalizer-basic: NPE for URLs without authority
- check whether URL.getAuthority() returns null
- recompose URLs without authority with empty authority/host
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebastian-nagel/nutch
NUTCH-2349-basic-url-normalizer-npe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/169.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #169
commit 1a718e0cc9a0c381e40f4bf8351e26f73522
Author: Sebastian Nagel
Date: 2017-01-11T14:46:46Z
NUTCH-2349 urlnormalizer-basic: NPE for URLs without authority
- check whether URL.getAuthority() returns null
- recompose URLs without authority with empty authority/host
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---