🔒(frontend) enhance file download security (#889)

## Purpose

Added a safety check for URLs in the FileDownloadButton component. Now,
before opening a URL, it verifies if the URL is safe using the isSafeUrl
function.
This prevents potentially unsafe URLs from being opened in a new tab.
This commit is contained in:
Nathan Panchout
2025-04-28 14:50:14 +02:00
committed by GitHub
parent 98f11ff8ac
commit 9465f1a6ec
4 changed files with 171 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ and this project adheres to
## [Unreleased]
## Fixed
- 🔒(frontend) enhance file download security #889
## Added
- 🚸(backend) make document search on title accent-insensitive #874