: Log:
: Incorporate the prefixPath, if configured, on the forwards

this doesn't really seem like the correct usage of prefixPath .. it's 
suppose to be set to whatever the SolrDispatchFIlter is configured to 
intercept, not a generic webapp name ... with this change, won't 
SolrDispatchFilter constantly forward to itself?


: Modified: 
lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java
: URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java?rev=640449&r1=640448&r2=640449&view=diff
: ==============================================================================
: --- 
lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java
 (original)
: +++ 
lucene/solr/trunk/src/webapp/src/org/apache/solr/servlet/SolrDispatchFilter.java
 Mon Mar 24 08:53:46 2008
: @@ -304,7 +304,7 @@
:              req.setAttribute("org.apache.solr.SolrCore", core);
:                // Modify the request so each core gets its own /admin
:              if( singlecore == null && path.startsWith( "/admin" ) ) {
: -              req.getRequestDispatcher( path ).forward( request, response );
: +              req.getRequestDispatcher( pathPrefix == null ? path : 
pathPrefix + path ).forward( request, response );
:                return; 
:              }
:            }
: 
: 



-Hoss

Reply via email to