Menu

#4687 HTML file manager UTF-8 names problem

1.770
closed-fixed
nobody
None
5
2016-01-07
2015-12-09
No

Hello,
there is a problem with handling of UTF-8 files and folders names in HTML file manager; names are displayed correctly, but after click are handled bad:
I have the folder: /home/mhk/Čína 2012
File manager showes correctly: Čína 2012
Link from it is: https://..../filemin/index.cgi?path=%2Fhome%2Fmhk%2F%10C%EDna%202012
(I think is correct too)
but after click:

Following errors occured while performing operation
•Error opening directory /home/mhk/C�na 2012 No such file or directory

I think there is a problem that the GET parameter path is not decoded well from URL. It doesn't work for folders (open) and it doesn't work for file names too (download).
Thanks a lot
With best regards
Martin Hankovec

Discussion

  • Jamie Cameron

    Jamie Cameron - 2015-12-10

    This will be fixed in the 1.780 release of Webmin.

     
  • Jamie Cameron

    Jamie Cameron - 2015-12-10
    • status: open --> closed-fixed
     
  • Martin Hankovec

    Martin Hankovec - 2016-01-05

    Hello,
    thank You Jamie, it seems to be fixed in 1.78 (folders can be opened), but Filemin shows an error after opening UTF-8 named folder (see attachement).
    UTF-8 named files can be succesfully downloaded by click on them, but the names in download dialogue are not in UTF-8 (see attachement).
    Thanks a lot
    Martin Hankovec

     
  • Jamie Cameron

    Jamie Cameron - 2016-01-06

    What is the filename on your system that triggers this error?

     
  • Martin Hankovec

    Martin Hankovec - 2016-01-06

    The filename is in previously attachement picture (upper). Every folder name with UTF-8 characters (accents) generate this error, but the folder is accesible.
    Every file name with UTF-8 characters, which I try to download has name converted to iso-8859-1 (from UTF-8), so the file have to be after downloading renamed to right name.

     

    Last edit: Martin Hankovec 2016-01-06
  • Jamie Cameron

    Jamie Cameron - 2016-01-07

    Since this looks like a Filemin bug, I'd recommend filing a bug at https://github.com/Real-Gecko/filemin

     

Log in to post a comment.

Auth0 Logo