Upload of image with accent in the filename is failing


(Gzoritchak) #1

The demo below. The same image is uploaded twice.

The first time the name of the file is “écran.png”. At the end of the upload the link is not updated. The file was uploaded (you can check in the original directory).

Uploading écran.png…

After changing the name from “écran.png” to “ecran.png”. The upload is working.

It’s a problem for many countries. By default a screen copy file name on a french mac is “Capture d’écran 2015-mm-DD à HH:MM:SS.png”.


(Jeff Atwood) #2

Looks like a bug for you @zogstrip.


(Matthieu) #3

Same here, but for it seems it is more due to the space in the filename:

BTW it also does not work on meta.discourse ^^ I have had to rename the file.


(Jeff Atwood) #4

Yeah we should definitely fix this as well @zogstrip or @eviltrout.


(Régis Hanol) #5

Thanks for reporting that issue. Here’s the fix :banana:

https://github.com/discourse/discourse/commit/af7f00099ff9541f0b4dba5771d824bcd2d9efd5


(Régis Hanol) #6

This topic was automatically closed after 6 hours. New replies are no longer allowed.