small fix for last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1969 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 19 years ago
parent e2853f357d
commit 245cc34d51

@ -171,7 +171,7 @@ public class htmlFilterContentScraper extends htmlFilterAbstractScraper implemen
} else if (url.getProtocol().equals("https")) {
if (url.getPort() < 0 || url.getPort() == 443) { defaultPort = true; }
}
String path = url.getFile().toLowerCase();
String path = url.getFile();
// (this is different from previous normal forms where a '/' must not appear in root paths; here it must appear. Makes everything easier.)
if (path.length() == 0 || path.charAt(0) != '/') { path = "/" + path; }

Loading…
Cancel
Save