coar-notify-7 false positive request forgery comment

This commit is contained in:
frabacche
2024-01-12 11:29:23 +01:00
parent 692987df23
commit 37a23be62f

View File

@@ -56,6 +56,9 @@ public class SendLDNMessageAction implements LDNAction {
log.info("Announcing notification {}", request); log.info("Announcing notification {}", request);
try { try {
//Server-side request forgery Critical check gitHub failure is a false positive,
//because the LDN Service URL is configured by the user from DSpace
//frontend configuration at /admin/ldn/services
ResponseEntity<String> response = restTemplate.postForEntity( ResponseEntity<String> response = restTemplate.postForEntity(
notification.getTarget().getInbox(), notification.getTarget().getInbox(),
request, request,