From e441a9d4c8fd100260f48b457e0d6414aae4fbb6 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Tue, 18 Jun 2013 16:22:06 +0200 Subject: [PATCH] to avoid confusion, the gsa api is available at /search? and /searchresult? --- source/net/yacy/server/http/HTTPDFileHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/server/http/HTTPDFileHandler.java b/source/net/yacy/server/http/HTTPDFileHandler.java index 31aed3b5f..0df0bbb99 100644 --- a/source/net/yacy/server/http/HTTPDFileHandler.java +++ b/source/net/yacy/server/http/HTTPDFileHandler.java @@ -304,7 +304,7 @@ public final class HTTPDFileHandler { path = "/api/bookmarks/" + path.substring(11); } // another patch for the gsa interface - if (path.startsWith("/gsa/search")) { + if (path.startsWith("/gsa/search") && !path.startsWith("/gsa/searchresult")) { path = "/gsa/searchresult" + path.substring(11); }