This repository has been archived by the owner on Feb 13, 2025. It is now read-only.
Extend FopTemplate with the possibility to configure the Apache FOUserAgent #50
Labels
bug
Something isn't working
When using the girders FopTemplate class and its methods, the underlying implementation instantiates a new "Fop" object with a default factory and user agent from apache. This introduces a minor security issue when generating PDF's that the producer is visible in the meta data and there is no nice way of getting rid of it.
Example excerpt from inspecting a generated PDF with notepad:
To address said concern the producer should not be publicly visible.
Could you please adapt the FopTemplate in such a way that the FOUserAgent can be passed in from the outside so I can manually configure it?
Thanks for checking this issue.
The text was updated successfully, but these errors were encountered: