epugh commented on code in PR #3512:
URL: https://github.com/apache/solr/pull/3512#discussion_r2307817796
##########
solr/core/src/java/org/apache/solr/core/ConfigSetService.java:
##########
@@ -122,15 +116,19 @@ private void bootstrapDefaultConf() throws IOException {
}
private void bootstrapConfDir(String confDir) throws IOException {
- Path configPath = Path.of(confDir);
+ if (!confDir.endsWith("conf")) {
Review Comment:
I accidentally uploaded the parent directly as a configset, which obviously
wound't work. So I thought this woiuld add some protection from uploading the
wworng directlry. If you think it shouldn't be kept, then happy to remove it.
--
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]