-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
The generated PDF shows the producer as well as the version of the pdf which is a security vulnerability. There seems to be fixes (see links below) made for jsPDF but not sure how can this be done here since pdf is immediately downloaded.
// Set custom producer
var doc = new jsPDF();
doc.setDocumentProperty('producer', 'My Custom Producer');
// Remove producer info for security
doc.setDocumentProperty('producer', '');
// Use setDocumentProperties
doc.setDocumentProperties({
producer: 'Custom PDF Generator v1.0'
});See related issue here:
Metadata
Metadata
Assignees
Labels
No labels