Files plugin seems to fail with URL encoded filenames



  • So we had a user who was trying to open a file which was named something like:
    This%20is%20a%20stupid%20name.doc
    This failed and would never load, but once I removed the encoding it opened just fine.
    I was able to duplicate the problem though the command line using smbget. I know WebApp doesn’t actually use that command, but I believe they use the same libraries.

    So I’ve told the user not to use stupid file names, but that isn’t really a fix… any ideas of how to fix this?

    Thanks
    Bob


  • Kopano

    Could you share the versions of files + all the backends?



  • No problem

    File Plugin 2.0
    File: SMB/CIFS Backend 0.1


  • Kopano

    Could you also share the package versions installed on your server?



  • gsoap-kopano/stable 2.8.43-3.1 amd64
    gsoap-kopano-dbg/stable 2.8.43-3.1 amd64
    gsoap-kopano-dev/stable 2.8.43-3.1 amd64
    gsoap-kopano-doc/stable 2.8.43-3.1 all
    kopano-backup/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-bash-completion/stable,now 8.3.1.41-7.1 amd64 [installed]
    kopano-client/stable,now 8.3.1.41-7.1 amd64 [installed,automatic]
    kopano-common/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-contacts/stable,now 8.3.1.41-7.1 amd64 [installed,automatic]
    kopano-dagent/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-dbg/stable,now 8.3.1.41-7.1 amd64 [installed]
    kopano-dev/stable,now 8.3.1.41-7.1 amd64 [installed]
    kopano-gateway/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-ical/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-lang/stable,now 8.3.1.41-7.1 all [installed,automatic]
    kopano-migration-imap/stable 8.3.1.41-7.1 amd64
    kopano-migration-pst/stable 8.3.1.41-7.1 amd64
    kopano-monitor/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-presence/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-search/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-server/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-server-packages/stable 8.3.1.41-7.1 all
    kopano-spooler/stable 8.3.1.41-7.1 amd64 [residual-config]
    kopano-utils/stable 8.3.1.41-7.1 amd64
    kopano-webapp/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-contactfax/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-delayeddelivery/now 2.0.0.6-6.1 all [residual-config]
    kopano-webapp-plugin-desktopnotifications/stable,now 2.0.0.9-9.1 all [installed]
    kopano-webapp-plugin-filepreviewer/stable,now 2.0.0.5-8.1 all [installed]
    kopano-webapp-plugin-files/now 2.0.0.51-20.1 all [installed,local]
    kopano-webapp-plugin-filesbackend-smb/now 2.0.0.17-14.1 all [installed,local]
    kopano-webapp-plugin-folderwidgets/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-gmaps/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-intranet/stable 0.1-4.1 all
    kopano-webapp-plugin-mdm/now 2.0.0.16-11.1 all [installed,local]
    kopano-webapp-plugin-meetings/stable,now 3.0.0.93 all [installed]
    kopano-webapp-plugin-pimfolder/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-quickitems/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-spell/stable,now 2.0.0.0-7.1 all [installed]
    kopano-webapp-plugin-spell-de-at/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-de-ch/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-de-de/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-en/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-en-gb/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-es/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-fr/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-it/stable 1.0.0-2.1 all
    kopano-webapp-plugin-spell-nl/stable,now 2.0.0.0-5.1 all [installed]
    kopano-webapp-plugin-spell-pl-pl/stable,now 2.0.0.0-6.1 all [installed]
    kopano-webapp-plugin-titlecounter/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-webappmanual/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webapp-plugin-zdeveloper/stable,now 3.3.1.628-26.1 all [installed]
    kopano-webmeetings/stable 0.29.5-1 amd64
    libgsoap-kopano-2-8-43/stable,now 2.8.43-3.1 amd64 [installed,automatic]
    libgsoap-kopano-dbg/stable 2.8.43-3.1 amd64
    libvmime-kopano-dev/stable 0.9.2-9.1 amd64
    libvmime-kopano1/stable,now 0.9.2-9.1 amd64 [installed,automatic]
    python-kopano/stable,now 8.3.1.41-7.1 all [installed]
    

Log in to reply
 

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.