You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2019/11/19 16:56:35 UTC

[GitHub] [lucene-solr] uschindler commented on a change in pull request #1018: SOLR-13941: Configure JettySolrRunner same as in web.xml

uschindler commented on a change in pull request #1018: SOLR-13941: Configure JettySolrRunner same as in web.xml
URL: https://github.com/apache/lucene-solr/pull/1018#discussion_r347660945
 
 

 ##########
 File path: solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
 ##########
 @@ -381,7 +381,8 @@ public void lifeCycleStarted(LifeCycle arg0) {
         dispatchFilter = root.getServletHandler().newFilterHolder(Source.EMBEDDED);
         dispatchFilter.setHeldClass(SolrDispatchFilter.class);
         dispatchFilter.setInitParameter("excludePatterns", excludePatterns);
-        root.addFilter(dispatchFilter, "*", EnumSet.of(DispatcherType.REQUEST));
+        // Map dispatchFilter in same path as in web.xml
+        root.addFilter(dispatchFilter, "/*", EnumSet.of(DispatcherType.REQUEST));
 
 Review comment:
   Please do the same for the DebugFilter a few lines above.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org