Wrong check for Transfer-Encoding "chunked" in Zope while using finder (MacOS) as webdav client

Bug #403083 reported by Sven Rudolph
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Low
Unassigned

Bug Description

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

Tags: webdav zope2
tags: added: zope2
Changed in zope2:
importance: Undecided → Low
status: New → Confirmed
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: Confirmed → 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.