[ZCM] [ZC] 1851/ 1 Request "WebDAV: bad URL quoting in "PropFind""
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Jul 27 14:00:42 EDT 2005
Issue #1851 Update (Request) "WebDAV: bad URL quoting in "PropFind""
Status Pending, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/1851
==============================================================
= Request - Entry #1 by d.maurer on Jul 27, 2005 2:00 pm
"webdav.davcmds.PropFind.apply" uses "safe_quote" to quote
URLs.
"safe_quote" quotes iff the URL does not yet contain '%'.
This fails to quote the URL correctly in cases like this:
PROPFIND /a%20b/
when the collection "a b" contains an element whose
id needs quoting, e.g. "my id".
The recursive call to "apply" gets "/a%20b/my id" as "url"
parameter in this case and "safe_quote" does not change it.
The fix quotes the id when the "url" is constructed for
the recursive "apply" call.
==============================================================
More information about the Zope-Collector-Monitor
mailing list