Apache Lucene open-source search software
Incorporate the prefixPath, if configured, on the forwards
Erik Hatcher5e04a269e6e7
diff --git a/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java b/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.javaindex f3c8335d94a..2a3f53d6443 100644--- a/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java+++ b/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java@@ -304,7 +304,7 @@ public class SolrDispatchFilter implements Filterreq.setAttribute("org.apache.solr.SolrCore", core);// Modify the request so each core gets its own /adminif( singlecore == null && path.startsWith( "/admin" ) ) {- req.getRequestDispatcher( path ).forward( request, response );+ req.getRequestDispatcher( pathPrefix == null ? path : pathPrefix + path ).forward( request, response );return;}}