You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2013/09/09 15:50:47 UTC

git commit: MARMOTTA-135: fixed snorql redirection because the new webjar reorganization

Updated Branches:
  refs/heads/develop 28a108fbc -> 71d76587c


MARMOTTA-135: fixed snorql redirection because the new webjar reorganization


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/71d76587
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/71d76587
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/71d76587

Branch: refs/heads/develop
Commit: 71d76587c9195454c84f6e8bebd23d82da7c51cc
Parents: 28a108f
Author: Sergio Fernández <wi...@apache.org>
Authored: Mon Sep 9 15:49:24 2013 +0200
Committer: Sergio Fernández <wi...@apache.org>
Committed: Mon Sep 9 15:49:24 2013 +0200

----------------------------------------------------------------------
 .../marmotta/platform/sparql/webservices/SparqlWebService.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/71d76587/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java b/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java
index a23c0c2..107db27 100644
--- a/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java
+++ b/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java
@@ -167,7 +167,7 @@ public class SparqlWebService {
                     return buildQueryResponse(resultType, query);
                 else {
                     if (parseSubType(resultType).equals("html"))
-                        return Response.seeOther(new URI(configurationService.getServerUri() + "sparql/admin/snorql/snorql.html")).build();
+                        return Response.seeOther(new URI(configurationService.getServerUri() + "sparql/admin/snorql.html")).build();
                     else
                         return Response.status(Response.Status.BAD_REQUEST).entity("no SPARQL query specified").build();
                 }