Details
Description
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.