Amsterdam / schulddossier

public mirror repository
Mozilla Public License 2.0
1 stars 0 forks source link

113571 - File extension not always guessed #285

Closed tvanoort85 closed 4 months ago

tvanoort85 commented 4 months ago

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