1

I've followed the cookbook in order to add a file variable into my custom entity, although the original file name is not stored for security issues.

Next, to make possible loading files like doctrine datafixtures, I've modified class UploadedFile for File.

My question is: If I'm using viewer.js plugin to view PDF in my web, but this plugin needs original file name, How I recover original file name?

Community
  • 1
  • 1
Jorge Antequera
  • 105
  • 1
  • 15

0 Answers0