epugh opened a new pull request, #5373: URL: https://github.com/apache/solr/pull/5373
V2 SolrJ requests sent through a path-prefixed proxy can rewrite the wrong part of the URL. For example, `/solr-tenant/solr` becomes `/api-tenant/solr` rather than `/solr-tenant/api`. Replace the final complete `/solr` path segment while preserving the proxy prefix and any following path. Preserve existing `/api` roots. The fix applies to the shared URL builder used by the Jetty and JDK HTTP clients. Regression coverage uses a generated snapshot-list request and checks ordinary roots, proxy prefixes containing `/solr`, and existing v2 roots. This is separate from the snapshot API and CLI migration in #5353. Validation: all 5 `ClientUtilsTest` tests, `./gradlew tidy`, and `./gradlew check -x test` passed. Developed with assistance from OpenAI Codex. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
