feat(sanitization): enable removal of links in pre-publish workflow

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs 2025-11-15 20:05:50 +01:00
parent 8f903651e6
commit 20697b9987
3 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@
"removeEmbeddedFiles": true, "removeEmbeddedFiles": true,
"removeXMPMetadata": true, "removeXMPMetadata": true,
"removeMetadata": true, "removeMetadata": true,
"removeLinks": false, "removeLinks": true,
"removeFonts": false "removeFonts": false
} }
}, },

View File

@ -4619,7 +4619,9 @@
"secureWorkflow": "Security Workflow", "secureWorkflow": "Security Workflow",
"secureWorkflowDesc": "Secures PDF documents by removing potentially malicious content like JavaScript and embedded files, then adds password protection to prevent unauthorised access. Password is set to 'password' by default.", "secureWorkflowDesc": "Secures PDF documents by removing potentially malicious content like JavaScript and embedded files, then adds password protection to prevent unauthorised access. Password is set to 'password' by default.",
"processImages": "Process Images", "processImages": "Process Images",
"processImagesDesc": "Converts multiple image files into a single PDF document, then applies OCR technology to extract searchable text from the images." "processImagesDesc": "Converts multiple image files into a single PDF document, then applies OCR technology to extract searchable text from the images.",
"prePublishSanitization": "Pre-publish Sanitization",
"prePublishSanitizationDesc": "Sanitization workflow that removes all hidden metadata, JavaScript, embedded files, annotations, and flattens forms to prevent data leakage before publishing PDFs online."
} }
}, },
"common": { "common": {

View File

@ -71,7 +71,7 @@ export function useSuggestedAutomations(): SuggestedAutomation[] {
{ {
id: "pre-publish-sanitization", id: "pre-publish-sanitization",
name: t("automation.suggested.prePublishSanitization", "Pre-publish Sanitization"), name: t("automation.suggested.prePublishSanitization", "Pre-publish Sanitization"),
description: t("automation.suggested.prePublishSanitizationDesc", "Sanitization workflow that removes all hidden metadata, JavaScript, embedded files, annotations, and flattens forms and layers to prevent data leakage before publishing PDFs online."), description: t("automation.suggested.prePublishSanitizationDesc", "Sanitization workflow that removes all hidden metadata, JavaScript, embedded files, annotations, and flattens forms to prevent data leakage before publishing PDFs online."),
operations: [ operations: [
{ {
operation: "sanitize", operation: "sanitize",