Skip to content

Commit

Permalink
Fix code scanning alert no. 4: Use of externally-controlled format st…
Browse files Browse the repository at this point in the history
…ring

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 8b31b81 commit 2885c61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Blob get(@PathVariable UUID id) {
// var path = String.format("%s/%s", profile.name, id.toString());
var path = String.format("%s", id);

System.out.format(id + "-local", path );
System.out.format("%s-local", id);

var stat = minio.statObject(
StatObjectArgs
Expand Down

0 comments on commit 2885c61

Please sign in to comment.