You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by GitBox <gi...@apache.org> on 2022/11/08 16:43:35 UTC
[GitHub] [juneau] github-code-scanning[bot] commented on a diff in pull request #67: Update some dependencies and build on GitHub
github-code-scanning[bot] commented on code in PR #67:
URL: https://github.com/apache/juneau/pull/67#discussion_r1016876731
##########
juneau-microservice/juneau-microservice-ftest/src/test/java/org/apache/juneau/rest/test/TestMicroservice.java:
##########
@@ -159,7 +159,7 @@
private static int dumpCount = 0;
public static void jettyDump(RequestLine rl, StatusLine sl) {
- try (FileWriter fw = new FileWriter(microservice.getConfig().get("Logging/logDir").orElse("") + "/jetty-thread-dump-"+(dumpCount++)+".log")) {
+ try (FileWriter fw = new FileWriter(microservice.getConfig().get("Logging/logDir").orElse(".") + "/jetty-thread-dump-"+(dumpCount++)+".log")) {
Review Comment:
## Uncontrolled data used in path expression
This path depends on a [user-provided value](1).
This path depends on a [user-provided value](2).
This path depends on a [user-provided value](3).
This path depends on a [user-provided value](4).
This path depends on a [user-provided value](5).
[Show more details](https://github.com/apache/juneau/security/code-scanning/46)
--
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: dev-unsubscribe@juneau.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org