Upload of image with accent in the filename is failing

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”.

3 Likes

Looks like a bug for you @zogstrip.

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.

1 Like

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

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

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

5 Likes

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