httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16452] New: - If header only accepts state tokens that match mod_davs lock token format
Date Mon, 27 Jan 2003 14:32:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16452>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16452

If header only accepts state tokens that match mod_davs lock token format

           Summary: If header only accepts state tokens that match mod_davs
                    lock token format
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_dav
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: julian.reschke@gmx.de


Supplying a lock token which uses a format which is not known to moddav (and
therefore can't possibly represent an existing lock) causes the If header
validation to fail with 400 Bad Request. 

Error.log shows:

The lock token uses an unknown State-token format and could not be parsed. 
[400, #403]

Instead this part of the expression should just evaluate to false, and If header
processing should continue. For instance, for a resource with lock token
"opaquelocktoken:8aeb4384-04ee-8042-bd51-d18cc4a34143", a PUT request with the
following If header should suceed:

(<opaquelocktoken:8aeb4384-04ee-8042-bd51-d18cc4a34143>) (Not <DAV:no-lock>)

(note that "DAV:no-lock" is a well-formed URI that provably does not represent
any existing lock, so "Not<DAV:no-lock>" should evaluate TRUE.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message