Dinamiko / dk-pdf

WordPress to PDF made easy
https://wordpress.org/plugins/dk-pdf
26 stars 23 forks source link

fatal bug #76

Open damelco opened 5 years ago

damelco commented 5 years ago

I ran across a problem that needs immediate attention:

when creating a protected pdf with no allow permissions dk-pdf is suppose to pass an empty array to mPDF ... it is instead passing an empty string

... this results in the creation of a standard pdf without encryption, instead of a fully protected and encrypted pdf.

NOTE: selecting any allow checkbox will properly trigger encryption with the selected allow permission ... but deselecting all allow permissions (full protection) is broken

thanks for the great wrapper though Emili !! keep up the great work.

regards,

-DJ