Fixed the import module to load images without relying on blob (for csp).
What happens is a tmp/{uuid}/ folder is created on the server to display images while configuring (mapping) the xlsx. When the xlsx is saved, the images are properly moved to the right location (app_storage if available, otherwise to the correct place on the server).
TO DO:
[ ] have script to occasionally clear the tmp/{uuid}/ folder, as xlsx files that do not end up saved will leave the image files in tmp/. This script could typically be launched when saving (assuming it is safe to remove all tmp files for a given user).
[ ] add a security check in the backend (probably based on mimetype), in routes/request/img to make sure the data passed is a valid image.
Fixed the import module to load images without relying on blob (for csp). What happens is a tmp/{uuid}/ folder is created on the server to display images while configuring (mapping) the xlsx. When the xlsx is saved, the images are properly moved to the right location (app_storage if available, otherwise to the correct place on the server).
TO DO: