Skip to content

Commit

Permalink
coar-notify-7 false positive request forgery comment
Browse files Browse the repository at this point in the history
  • Loading branch information
frabacche committed Jan 12, 2024
1 parent 692987d commit 37a23be
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public ActionStatus execute(Context context, Notification notification, Item ite
log.info("Announcing notification {}", request);

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(
notification.getTarget().getInbox(),
request,
Expand Down

0 comments on commit 37a23be

Please sign in to comment.