mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
coar-notify-7 false positive request forgery comment
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user