Restrict PDF upload to Dynamic Media programmatically
We have been trying to restrict PDF documents upload to Dynamic Media (from AEM 6.5 integrated) without any success.
On manual upload and publish, things look good - only images are sent to DM, not PDFs. But fails programmatically.
Any ideas anyone?

