--- old/ApacheURLLister.java 2008-10-28 14:49:29.000000000 -0700 +++ url/ApacheURLLister.java 2008-10-28 14:54:48.000000000 -0700 @@ -126,6 +126,13 @@ text = text.trim(); + // handle complete URL listings + if (href.startsWith("http:") || href.startsWith("https:")) { + try { + href = new URL(href).getPath(); + } catch (Exception ignore) {} + } + // absolute href: convert to relative one if (href.startsWith("/")) { int slashIndex = href.substring(0, href.length() - 1).lastIndexOf('/');