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?
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.