Possible bug with "If"-predicated MOVE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using a clean build of httpd-2.4.3, I'm seeing the following behavior:

  * Make a collection
  * Get its ETag with PROPFIND Depth=0
  * Add an item to the collection
  * httpd reports a new ETag for the collection at this point
  * Attempt a MOVE of the collection to a new name, predicated with the OLD ETag, using an "If" header of </src/> (["ETag"])
  * Expect a precondition failure error

I get a proper 412 precondition failure if the source and destination are "/src/" and "/dst/", but if I use percent escapes in the URLs the MOVE spuriously succeeds (for example, if I use "/s%20r%20c/" and "/d%20s%20t/".

I've you'd like to see or try specifically my case, I've submitted a patch to litmus <http://lists.manyfish.co.uk/pipermail/litmus/2012-September/000344.html>.

Thanks!

-tim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux