You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "adityamparikh (via GitHub)" <gi...@apache.org> on 2026/04/24 21:01:43 UTC
[PR] fix: tighten CORS to localhost by default with configurable origins [solr-mcp]
adityamparikh opened a new pull request, #102:
URL: https://github.com/apache/solr-mcp/pull/102
## Summary
- Replace wildcard CORS origin pattern (`*`) with localhost defaults (`http://localhost:*`, `https://localhost:*`, `http://127.0.0.1:*`, `https://127.0.0.1:*`)
- Add configurable `http.cors.allowed-origin-patterns` property (also settable via `CORS_ALLOWED_ORIGIN_PATTERNS` env var) for customization
- MCP Inspector continues to work out of the box on localhost
## Test plan
- [x] `./gradlew build` passes
- [x] `./gradlew nativeTest -Pnative` passes (119/119 tests)
- [x] MCP Inspector on localhost still works with default config
- [x] No regressions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] fix: tighten CORS to localhost by default with configurable origins [solr-mcp]
Posted by "adityamparikh (via GitHub)" <gi...@apache.org>.
adityamparikh closed pull request #102: fix: tighten CORS to localhost by default with configurable origins
URL: https://github.com/apache/solr-mcp/pull/102
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org