This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 3fe7775a64d SOLR-16391: Fix CoresAPI integration in V2HttpCall (#3399)
3fe7775a64d is described below

commit 3fe7775a64d95550728983e9ab30b496510f3ebb
Author: Houston Putman <[email protected]>
AuthorDate: Mon Jun 23 13:50:10 2025 -0500

    SOLR-16391: Fix CoresAPI integration in V2HttpCall (#3399)
---
 solr/core/src/java/org/apache/solr/api/V2HttpCall.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java 
b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
index 6ea70a65ea3..8c12a95e7b1 100644
--- a/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
+++ b/solr/core/src/java/org/apache/solr/api/V2HttpCall.java
@@ -175,7 +175,7 @@ public class V2HttpCall extends HttpSolrCall {
             }
           }
         }
-      } else if ("cores".equals(prefix)) {
+      } else if ("cores".equals(prefix) && pathSegments.size() > 1) {
         origCorename = pathSegments.get(1);
         core = cores.getCore(origCorename);
       }

Reply via email to