[zope2-tracker] [Bug 403083] [NEW] Wrong check for Transfer-Encoding "chunked" in Zope while using finder (MacOS) as webdav client

Sven Rudolph info at sven-rudolph.de
Wed Jul 22 11:35:34 EDT 2009


Public bug reported:

According to RFC2616 - Hypertext Transfer Protocol -- HTTP/1.1, Chapter
3.6 all transfer-coding values are case-insensitive, but Zope checks for
"chunked" only as lower case string.

Found in (Zope-2.11.3):
zope/server/http/httprequestparser.py. line 147
zope/server/http/httptask.py, line 138
ZServer/medusa/http_server.py, line 216

Result:
Uploaded files with finder (MacOSX) as webdav client always have a length of 0 Bytes.
Finder sends the transfer-coding value as "Chunked" (with a capital C), which is allowed according to RFC2616, but falls through the checks in the listed files.


Greetings
Sven

** Affects: zope2
     Importance: Undecided
         Status: New


** Tags: webdav

-- 
Wrong check for Transfer-Encoding "chunked" in Zope while using finder (MacOS) as webdav client
https://bugs.launchpad.net/bugs/403083
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list