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 2013/12/23 15:30:53 UTC
[jira] [Comment Edited] (NUTCH-1681) In URLUtil.java, toUNICODE
method does not work correctly
[ https://issues.apache.org/jira/browse/NUTCH-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855660#comment-13855660 ]
Markus Jelsma edited comment on NUTCH-1681 at 12/23/13 2:29 PM:
----------------------------------------------------------------
BTW: can anyone fix this in 2.x? I applied the patch to 2x and it went well with some fuzz. However, the unit tests don't run for some reason:
{code}
$ ant -Dtestcase=TestURLUtil test
$ cat build/test/TEST-org.apache.nutch.util.TestURLUtil.txt
Testsuite: org.apache.nutch.util.TestURLUtil
Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.331 sec
Testcase: testGetHostBatches took 0.004 sec
Testcase: testGetDomainSuffix took 0.305 sec
Testcase: testGetDomainName took 0.001 sec
Testcase: testChooseRepr took 0 sec
{code}
The code is there, but the testToASCII and testToUNICODE don't seem to run.
was (Author: markus17):
BTW: can anyone fix this in 2.x? I applied the patch to 2x and it went well with some fuzz. However, the unit tests don't run for some reason:
$ ant -Dtestcase=TestURLUtil test
$ cat build/test/TEST-org.apache.nutch.util.TestURLUtil.txt
Testsuite: org.apache.nutch.util.TestURLUtil
Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.331 sec
Testcase: testGetHostBatches took 0.004 sec
Testcase: testGetDomainSuffix took 0.305 sec
Testcase: testGetDomainName took 0.001 sec
Testcase: testChooseRepr took 0 sec
The code is there, but the testToASCII and testToUNICODE don't seem to run.
> In URLUtil.java, toUNICODE method does not work correctly
> ---------------------------------------------------------
>
> Key: NUTCH-1681
> URL: https://issues.apache.org/jira/browse/NUTCH-1681
> Project: Nutch
> Issue Type: Bug
> Affects Versions: 2.2.1
> Reporter: İlhami KALKAN
> Fix For: 1.9, 2.2.1
>
> Attachments: NUTCH-1681-1.8-2.patch, NUTCH-1681-1.8-5.patch, NUTCH-1681-1.8.patch, NUTCH-1681-1.8.patch, NUTCH-1681-1.8.patch, NUTCH-1681-1.8.patch, toUnicode.patch
>
>
> This method returns java.net.URISyntaxException when non-ascii character does in parameter like http://www.çevir.com.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)