When going through the logs i saw that the system does not always knows what extension as file is, which can cause the files to be saved without one and the filename ending with a dot.
This PR solves that by checking if it can guess it and else add the extension of the original uploaded file
When going through the logs i saw that the system does not always knows what extension as file is, which can cause the files to be saved without one and the filename ending with a dot.
This PR solves that by checking if it can guess it and else add the extension of the original uploaded file