Rotonde / rotonde-client

Rotonde Base Client
https://client-neauoire.hashbase.io/
MIT License
227 stars 49 forks source link

Images break on spaces in filename #53

Closed frozenpandaman closed 7 years ago

frozenpandaman commented 7 years ago

(re-post of the issue i opened in the old repo @ https://github.com/Rotonde/beaker/issues/61. moving it here.)

Drag in or manually link (with >>) file named Screen Shot.png.

Upon pressing enter to send, the image linked in the post is broken, trying to load media/content/Screen.jpg. It seems .jpg extension is defaulted to/assumed since the filename breaks on the space.

(When using drag-and-drop, the image file with its full/with-spaces filename is still copied to the media/content/ directory.)