You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2014/10/19 22:49:33 UTC
[jira] [Created] (NUTCH-1880) URLUtil should not add additional
slashes for file URLs
Sebastian Nagel created NUTCH-1880:
--------------------------------------
Summary: URLUtil should not add additional slashes for file URLs
Key: NUTCH-1880
URL: https://issues.apache.org/jira/browse/NUTCH-1880
Project: Nutch
Issue Type: Sub-task
Components: protocol
Affects Versions: 2.2.1, 1.9
Reporter: Sebastian Nagel
Fix For: 2.3, 1.10
UrlUtil.toASCII(String url) and .toUNICODE(String url) add two slashes to file URLs if it contains a single slash: {{file:/path/index.html}} becomes {{file:///path/index.html}}. Both methods should keep the single slash to get a behavior consistent with URL.toString(). See NUTCH-1483 for details.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)