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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to