WebDAV: bad charset handling in "PROPPATCH"

Bug #1420702 reported by Dieter Maurer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Undecided
Unassigned

Bug Description

I send the following "PROPPATCH" command to a Plone object (which uses "utf-8" as charset for its properties):

<propertyupdate xmlns='DAV:'>\n <set><prop><title xmlns='http://www.zope.org/propsets/default'>k\xc3\xa4lander.xml</title></prop></set>\n</propertyupdate>

In "webdav.xmltools.Node.strval" the incoming property value u"kälander.xml" in encoded in a so called "zope_encoding", defined as "latin-1". At least for properties of Plone objects, this is the wrong encoding.

Tags: webdav
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.