milleruntime commented on a change in pull request #1795:
URL: https://github.com/apache/accumulo/pull/1795#discussion_r527124862
##########
File path:
start/src/main/java/org/apache/accumulo/start/classloader/AccumuloClassLoader.java
##########
@@ -87,7 +89,7 @@ public static String getAccumuloProperty(String propertyName,
String defaultValu
}
try {
var config = new PropertiesConfiguration();
- try (var reader = new FileReader(accumuloConfigUrl.getFile())) {
+ try (var reader = new InputStreamReader(accumuloConfigUrl.openStream(),
UTF_8)) {
Review comment:
Here is the reference, I don't think it applies:
https://find-sec-bugs.github.io/bugs.htm#URLCONNECTION_SSRF_FD
----------------------------------------------------------------
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:
[email protected]