From d17dd69936359f066307c114b6533495c10d9da8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 9 Mar 2009 21:06:51 +0100 Subject: [PATCH] Fix construction of URL from page. --- src/net/pterodactylus/arachne/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/arachne/core/Core.java b/src/net/pterodactylus/arachne/core/Core.java index 1061325..e7eac9e 100644 --- a/src/net/pterodactylus/arachne/core/Core.java +++ b/src/net/pterodactylus/arachne/core/Core.java @@ -206,7 +206,7 @@ public class Core extends AbstractService { */ private URL createURL(Page page) { try { - return new URL("http://" + nodeHost + ":" + nodePort + "/"); + return new URL("http://" + nodeHost + ":" + nodePort + "/SSK@" + page.getSite().getSite().getKey() + "/" + page.getSite().getSite().getBasename() + "-" + page.getSite().getEdition() + "/" + page.getPath()); } catch (MalformedURLException mue1) { /* nearly impossible. */ } -- 2.7.4