nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1880) URLUtil should not add additional slashes for file URLs
Date Sat, 01 Nov 2014 18:52:34 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-1880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lewis John McGibbney updated NUTCH-1880:
----------------------------------------
    Fix Version/s:     (was: 2.3)
                   2.4

> 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: 1.9, 2.2.1
>            Reporter: Sebastian Nagel
>             Fix For: 2.4, 1.10
>
>         Attachments: NUTCH-1880-2x-v1.patch, NUTCH-1880-trunk-v1.patch
>
>
> 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)

Mime
View raw message