You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2017/05/15 13:49:04 UTC
[jira] [Updated] (NUTCH-2386) BasicURLNormalizer does not encode
curly braces
[ https://issues.apache.org/jira/browse/NUTCH-2386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Jelsma updated NUTCH-2386:
---------------------------------
Attachment: NUTCH-2386.patch
Patch for trunk
> BasicURLNormalizer does not encode curly braces
> -----------------------------------------------
>
> Key: NUTCH-2386
> URL: https://issues.apache.org/jira/browse/NUTCH-2386
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 1.13
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Fix For: 1.14
>
> Attachments: NUTCH-2386.patch
>
>
> Causing:
> {code}
> 2017-05-15 13:23:33,474 ERROR [FetcherThread] org.apache.nutch.protocol.httpclient.Http: Failed to get protocol output
> java.lang.IllegalArgumentException: Invalid uri 'https://www.example.org/32/{{relative_url}}': escaped absolute path not valid
> at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
> at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
> at org.apache.nutch.protocol.httpclient.HttpResponse.<init>(HttpResponse.java:76)
> at org.apache.nutch.protocol.httpclient.Http.getResponse(Http.java:181)
> at org.apache.nutch.protocol.http.api.HttpBase.getProtocolOutput(HttpBase.java:261)
> at org.apache.nutch.fetcher.FetcherThread.run(FetcherThread.java:295)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)