Skip to content

Commit

Permalink
Fix code scanning alert no. 537: Log Injection
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent da4e468 commit e2a3243
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public PaymentsController(PaymentsService paymentsService) {
@Override
public ResponseEntity<String> getReceiptByIUV(
String organizationFiscalCode, String iuv, String segregationCodes) {
String sanitizedOrganizationFiscalCode = sanitizeInput(organizationFiscalCode);
log.debug(
String.format(
LOG_BASE_HEADER_INFO,
"GET",
"getReceiptByIUV",
String.format(LOG_BASE_PARAMS_DETAIL, organizationFiscalCode)
String.format(LOG_BASE_PARAMS_DETAIL, sanitizedOrganizationFiscalCode)
+ "; iuv= "
+ iuv
+ "; validSegregationCodes= "
Expand Down

0 comments on commit e2a3243

Please sign in to comment.