lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucene-solr] janhoy commented on a change in pull request #1018: SOLR-13941: Configure JettySolrRunner same as in web.xml
Date Tue, 19 Nov 2019 18:21:34 GMT
janhoy 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_r348091182
 
 

 ##########
 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:
   Done

----------------------------------------------------------------
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


Mime
View raw message