mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Fix a bunch of open redirect vulns
This commit is contained in:
@@ -217,7 +217,7 @@ namespace BTCPayServer.Controllers
|
||||
return NotFound();
|
||||
}
|
||||
await _notificationManager.ToggleSeen(new NotificationsQuery() { Seen = false, UserId = userId }, true);
|
||||
return Redirect(returnUrl);
|
||||
return LocalRedirect(returnUrl);
|
||||
}
|
||||
|
||||
private bool ValidUserClaim(out string userId)
|
||||
|
||||
Reference in New Issue
Block a user