New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item13571: WebDAVContrib incompatible with Foswiki-2.0

Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: FilesysVirtualPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
Just tested accessing an attachment with umlaute in its name. Result is:

DIE Rcs::Handler: stream open /.../pub/.../.../töricht.xlsx failed: No such file or directory at /home/www-data/foswiki/core/lib/Foswiki/Store/Rcs/ line 1339

The other DAV methods probably fail similarly as there is lots of encoding going on in HTTP::WebDAV that might not play nicely with Foswiki-2.0.

-- MichaelDaum - 28 Jul 2015 does a lot of decode_utf8 to convert utf8-encoded request params to unicode. The module is written to use unicode throughout. The conversion to {Site}{CharSet} happens in the FilesysVirtualPlugin.

The FilesysVirtualPlugin does not inspect $Foswiki::UNICODE so always tries to decode to {Site}{CharSet}. If this is not set, it will default to iso-8859-1 which is almost certainly wrong.

I pushed an untested fix, and derated to Normal status pending your verification and a release.

-- Main.CrawfordCurrie - 30 Jul 2015 - 08:29

Doesn't work. Browsing DAV returns nothing. Investigating.

-- MichaelDaum - 31 Jul 2015

I didn't run the tests but looks good up to now. I can edit attachments with umlaute in them again.

-- MichaelDaum - 31 Jul 2015
Topic revision: r4 - 11 Jul 2016, MichaelDaum - This page was cached on 21 Mar 2018 - 16:59.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License